Do not change anything layout (Auto Resist / Autostart) . I think the problem is the size of the scroll content. Thus, you update the view frame in the viewDidLoad method. And after that, refresh the size of the scroll content.
- (void)viewDidLoad { [super viewDidLoad];
Rahul source share