Logic explain
- How big is your view is controlled by size and scale
- When pinching with your finger, we modify the scale, but not the original size
- After the pinching is finished, we change the size according to the scale ( for example, if you scale is 2, then multiple the weight and height of your size by 2 ). Finally, put the scale back to 1