简体   繁体   中英

Enable AutoLayout for old source code in Xcode 11

The project was written long ago, using "autoresizingmask", "Top and Bottom layout guides".

Now I wish to update to auto layout. I couldn't find the option "Use AutoLayout in Interface Builder."

在此处输入图像描述

Any help?

Unfortunately Use Auto Layout option is no longer visible to Xcode 11 . But you can open the same project in Xcode 10 and there you can enable this.

在此处输入图像描述

My Xcode version is 10.2.1.

在此处输入图像描述

You can download older versions from here in case you don't have one.: Xcode 10.2.1

Just sign in with your Apple-id and start downloading.

I hope this may help you.

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