简体   繁体   中英

Does checking "Use Auto Layout" in a storyboard convert all of the autoresizing masks?

Currently working on an iPhone app in Xcode 7.3, with some views using autoresizing masks. Does checking "Use Auto Layout" in a storyboard convert all of those masks without any repercussions? I want to make sure this automatic conversion doesn't break anything.

Just checked, on my app, it breaks a lot of things.

But just in case you want to experiment and your project is under source control via git, you can try this change and then go to the menu Source Control -> Discard changes in your.storyboard to revert the change

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM