Question

I have a specific scene(view controller) in storyboard for which i do not want autoLayout. Disabling Autolayout in storyboard disables it for the entire storyboard for all scenes. For now I am having that view controller as a separate .xib and disabling autoLayout for it. Is this the correct way of doing it or is there another option available to disable autoLayout for a particular view controller in storyboard?

Note: I have a compass implemented in this view controller. The compass is jerky when autoLayout is enabled. That is the reason i do not want to use autoLayout for this view controller.

Was it helpful?

Solution

Moving the single view for that view controller into its own XIB file is a perfectly reasonable way to achieve this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top