Reputation: 208
The above contents are placed in a scrollview but the output in the app is as below
If i place these contents outside the scrollview it is working fine, it was working fine before update to xcode 8
Upvotes: 6
Views: 249
Reputation: 3831
Don't change anything layout (Autoresizing/Autolayout). I think the issue is scrollview content size. So, you update the view frame in viewDidLoad
method. And after then update scrollview content size.
- (void)viewDidLoad {
[super viewDidLoad];
//set view frame
self.view.frame = [UIScreen mainScreen].bounds;
}
Upvotes: 0