Search code examples
iosswiftxcodeipad

Support for ipad size in Swift 4


I have successfully completed iPhone development using Auto Layout.

Thanks to Auto Layout, UI is displayed normally on all iPhones.

However, if I run it on the iPad, the UI will not break, but the screen will be small.

I have no idea what to do to support iPad size in storyboard or build settings.

If I want my app to respond to iPad size, what method should I use specifically?

I am using Xcode 10 and Swift 4.


Solution

  • enter image description here

    Select your project in Xcode, then use the General tab. It's under the sections on Identity and Signing.