I have a UIScrollView that contains some controllers: imageView with the background image and others,
and when I rotate the phone, it does not auto-resize controllers
I have read 2 similar questions in UIWebView auto rotation corrupts web view content (screenshots inside) Scale image to fit screen on iPhone rotation and I try to add these code to the viewDidLoad
self.view.autoresizesSubviews = YES;
self.imageView.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight);
self.scrollView.autoresizingMask =(UIViewAutoresizingFlexibleWidth
| UIViewAutoresizingFlexibleHeight);
the problem is also not be solved. Please help me for this crash, many thanks in advance.