All you can get from the pinch event is information about how much you moved your fingers.
You need to write your own code to enlarge it.
Or, if you use UIScrollView, you can expand it to feel like you don't need to write it yourself.
© 2022 OneMinuteCode. All rights reserved.