I know there is many topics for this subject but I didn't found a good solution for my problem. I have a UIScrollView with an image and other components added as subviews. I just want to know the good way to resize the components into in real time when I zoom.
- (void)scrollViewDidZoom:(UIScrollView *)scrollView {
// Resizing image and other components
}
EDIT : I would like the impression that the components inside the scroll view keep the same size when I zoom. I don't want to they become bigger or smaller during zooming.
EDIT : Here is the hierarchy of my UIViewController
- View
- ScrollView
- Main view
- Image view
- Drawing view (UIView with components like UILabel, other UIViews, etc...)
- Main view
- ScrollView
Thanks a lot !