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.
将该视图控制器的单个视图移动到其自己的XIB文件中是实现此目的的一种完全合理的方法。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.