bably
bably

Reputation: 1105

Splash screen requirement iOS app - Portrait

I am developing an iPhone app in Xcode 7 which will only open in portrait mode. My question is do I need to provide the launch/splash/default screen also for landscape mode or providing it in the various portrait mode sizes will be sufficient?

Upvotes: 1

Views: 889

Answers (2)

Rashmi Ranjan mallick
Rashmi Ranjan mallick

Reputation: 6620

I think adding only the portrait ones should work for you. Hope you are using xcassets for managing splash screens. There, You can select the orientations and devices which you want to support. Here is a screenshot.

enter image description here

NOTE: This is from Xcode 6.4. Hope it's something similar in Xcode 7.

Upvotes: 2

Rohan Sanap
Rohan Sanap

Reputation: 2862

Design the LaunchScreen.xib file to look as your desired splash screen. Set proper constraints to your design elements/views. And thats it! It will appear as expected on any orientation.

For example: If you want your app logo to appear in the center on app launch as splash screen, set your logo in a image view at center, give constraints for horizontally centering, vertically centering and height and width constraints. Now run the app by keeping simulator in various orientations and your launch screen will appear same in all orientations.

Upvotes: 1

Related Questions