Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the impact of the "Requires full screen" option in Xcode for an iPhone-only app?

For an iPad-only app or a universal app, the "Requires full screen" option tells Xcode/iOS whether the app supports iPad multitasking feature introduced in iOS 9. But the "Requires full screen" option is also present if it's an iPhone-only app. In this case, what is the impact of this option?

enter image description here

like image 508
goodbyeera Avatar asked Jan 05 '16 10:01

goodbyeera


People also ask

What is full screen on iPhone?

Full screen mode allows you to watch videos that take up your entire screen. iPhone & iPad AndroidComputer. More. More.

How can I use my iPhone as a device for Xcode?

Open up a project in Xcode and click on the device near the Run ▶ button at the top left of your Xcode screen. Plug your iPhone into your computer. You can select your device from the top of the list. Unlock your device and (⌘R) run the application.

Why is iPhone not full screen?

It sounds like you may have Portrait Orientation Lock enabled. You can disable this in the Control Center by swiping down from the top right corner of your screen. You'll see a lock with a circled arrow around it. Find more information here: Rotate the screen on your iPhone or iPod touch.


2 Answers

There is no impact at all. Apple engineers thinks that its not required to hide, or may be Plus phones will get landscape slide over in later iOS versions :)

From the documentation:

To opt out of being eligible to participate in Slide Over and Split View, add the UIRequiresFullScreen key to your Xcode project’s Info.plist file and apply the Boolean value YES.

like image 160
KingofBliss Avatar answered Sep 19 '22 07:09

KingofBliss


Normally, you would need to support both portrait and landscape orientation in your app.If your app is landscape only or portrait only, then the app validation fails with:

warning: All interface orientations must be supported unless the app requires full screen.

And as KingofBliss noted, setting this to YES will also stop your app from running in a split view.

It is a useful setting for games that run full screen in landscape only.

like image 30
Bram Avatar answered Sep 19 '22 07:09

Bram