I have a project that works fine with Xcode 5 and iOS 7, but when I recently downloaded Xcode 6, I noticed some strange autostart behavior.
I have a storyboard with a view that has only UIImageView and two UILabels. This view is loaded using the UiPageViewController. The UIImageView is centered horizontally and vertically in the view, and there are restrictions that indicate the distance between two labels from the image. When there is a case where storyboards and autodetect values ββconflict (for example, in a storyboard, one label is 20 pixels above the image, but autostart says it should be 40 pixels higher), it was usually that the autodetection value was successfully applied before loading the view . Thus, when the view is displayed for the first time, everything is in the right place.
Now with iOS 8 / Xcode 6, I see that the view is loading, and then things go to their final autostart position. This jump is visible to the end user both in the simulator and on the real device, and it is really annoying. Is there a way to revert to old behavior? As far as I know, no code has changed to cause this problem.
ios xcode autolayout xcode6 uipageviewcontroller
wuc Sep 19 '14 at 1:40 2014-09-19 01:40
source share