i’d like to know how to resize subviews within a ScrollView using gestures, specifically Pinch Gestures. I don’t want to scale (I mean, I don’t need to Zoom in/out) its content, but I need to resize the view’s frame. Can anyone help me?
i’d like to know how to resize subviews within a ScrollView using gestures, specifically
Share
Add pinch gesture recognizer to your mainView:
then react to the pinch:
If your mainView has an option
@property(nonatomic) BOOL autoresizesSubviewsset toYESyou could just resize the mainView frame otherwise you will have to go through all the mainView subviews and resize them accordingly