A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Discussion in 'iOS and tvOS' started by aerende, Jul 1, 2010.
Is it possible using the Info.plist to restrict an app/game to run only on the iPhone 4?
When you build the game in Xcode, make sure the iPhone OS Deployment Target is set to iPhone OS 4.0, this will make it so only 4.0 devices can run the app.
I think he was asking about restricting it to the actual iphone 4 device, not the software.
IIRC, you set the minimum device requirements when uploading the game to iTunes Connect.
Right, I'm asking if the app can be restricted to run only on the iPhone 4 device. I.E. I'd like to provide graphics that are 960 x 640 for the iPhone 4, and these wouldn't look right on an iPhone 3G, since the 3G has a screen 1/4 of the size of the iPhone 4.
You used to be able to select the devices that the app ran on when you created the app in iTunes Connect. But now, that section of iTunes Connect has a link that says that you can restrict which devices the app runs on using the Info.plist. But I wasn't able to find any information on how to do this with the Info.plist, and was hoping someone on this forum knew how.
Would setting UIRequiredDeviceCapabilities to "front-facing-camera" restrict the binary to iPhone 4?