wrong frame size in viewDidLoad [duplicate]
It’s a very similar question to ios setContentOffset not working on iPad … And my answer is the same as there: “You should not initialise UI geometry-related things in viewDidLoad, because the geometry of your view is not set at this point and the results will be unpredictable. … viewWillAppear: is the correct place to … Read more