Xcode : How To Set App To Be iPhone Only?
All iPhone applications can be run on the iPad as well, just not "fullscreen" (see image below). Applications can be designed for iPhone and iPad separately, or a universal app, which contains the resources for both iPhone and iPad (interfaces, device handling, etc.).
The user will notice a gray container around an application that is designed for iPhone. Universal apps will automatically choose the correct interface for the device.
In the iTunes Store, applications with a blue plus symbol beside the price are Universal applications:
How to publish an app only for iPhone and not to iPad?
In Xcode
- Choose your project from the Project Navigator
- Choose your app target
- Choose the "General" tab
- In the "Deployment Info" section, check only the iPhone device (uncheck iPad)
How to change iPhone/iPad app to iPhone only?
You have to change the Targeted device family
. Select the project, then info-->Deployment--->Targeted device family
to iPhone
only and you have to do the same thing in targets. After that your app will be only for iPhone.
Good Luck!
How to Restrict the iOS app only for iPads on app store?
Choose your application name under Targets
, then General
tab.
Then in deployment info section, choose only iPad.
In the same area, you can restrict the device orientation as well.
How to Restrict the iOS app only for iPhone excluding iPad?
YES, yes, you CAN, set the UIRequiredDeviceCapabilities stating that the app requires telephony. This means it will only work on an iPhone. Please read more about it from the Apple Documentation here -
UIRequiredDeviceCapabilities - setting conditions so app store knows which devices to allow installation on
Within this page, search for UIRequiredDeviceCapabilites and it will tell you more from there.
I hope this helps anyone with this issue
How to restrict the app to iphone only and preserve this setting
Something that you could try is to set up the UIDeviceFamily in your project Info.plist. For this key, you could set 1 for iPhones or 2 for iPads. For example:
<key>UIDeviceFamily</key>
<array>
<integer>2</integer>
</array>
Is it possible to change the universal app to iphone only once it is uploaded to app store?
UIRequiredDeviceCapabilities would help you.
Put telephony value like this in info.plist (IPhone specific...)
Of course you need submit your app again.
UIRequiredDeviceCapabilities
UIRequiredDeviceCapabilities
UIRequiredDeviceCapabilities (Array or Dictionary - iOS) lets iTunes and the App Store know which device-related features an app requires in order to run. iTunes and the mobile App Store use this list to prevent customers from installing apps on a device that does not support the listed capabilities.
Is there a way to give an iOS app to one person through Xcode?
If you build the app directly to his phone, the app will expire after 1 week or 1 year depending if you have a free developer account or a paid account. If he has a Mac accessible, he could download Xcode and you could send him the source project for him to build it to his own phone.
You could also use Apple's TestFlight service, which requires a paid developer account. This is probably the easiest and most Apple-approved method, but the apps will expire after 60 days unless you submit an update.
You could use also use a third-party distribution service like HockeyApp or buddybuild.
Related Topics
How to Determine File Size on Disk of a Video Phasset in iOS8
iOS Ibeacon: How to Get All of Proximityuuid Programmatically
How to Disable Qlpreviewcontroller Print Button
Hide Status Bar and Increase the Height of Uinavigationbar
iOS Fix Search Bar on Top of the Uitableviewcontroller
Core Data Sum of All Instances Attribute
Google 400 Error: Invalid Request Custom Scheme Uris Are Not Allowed for 'Web' Client Type
Ciimage Display Mtkview VS Glkview Performance
Ble Device Keep Connect with iPhone When Application Terminate
Cannot Invoke 'Indexof' with an Argument List of Type '(Checklistitem)'
Offline Crash Reporting in Crashlytics
Uiapplicationlaunchoptionsremotenotificationkey Not Getting Userinfo
Download PDF and Save to the "Files" in Iphone, Not to the App Data, Swift
Autolayout: Origin and Size Should Change According to Width and Height Factor
Safari Web View Opening When Logging to Fb Through iOS 9