user1899840
user1899840

Reputation: 543

Can we restrict download or launch of an universal app in iPad 1 alone?

I have a universal app, it supports both iPad and iPhone. I do not want the app to be downloaded or launched in iPad 1 alone.

When the user downloads the app from App Store, is there a way to disable the download or launch of the app only for the first generation of iPad.

If not, can I add it in "What's new" option during the release of the app to App Store. Since it is a next version of release.

Please help.

Thanks in advance.

Upvotes: 0

Views: 134

Answers (3)

Ali Farhan
Ali Farhan

Reputation: 199

Best possible way is to give the support for iOS 6+ which will exclude the ipad first generation.

Upvotes: 0

latonz
latonz

Reputation: 1750

You could try to find a restriction with the UIRequiredDeviceCapabilities key in the info.plist. But this key only allows restrictions like armv7, magnetometer, etc. (full list available here). So you can't filter only iPads of the first generation.

Anyway, what you could do is checking at runtime whether it's an iPad 1 or not. With this Library it's quite simple:

if([[UIDevice currentDevice] platformType] == UIDevice1GiPad){
   //it's an iPad 1!
}

Upvotes: 2

dandan78
dandan78

Reputation: 13925

I don't believe you can restrict your software to a certain class of devices, but you can impose limits based on iOS version. The newest version of iOS supported by the original iPad is 5.1.1, which is quite dated now, so you might consider requiring iOS6+ on the App Store.

Also, you could require the device to have a camera, which the iPad 1 does not. But beware that Apple could reject your app if it does not actually use the camera.

Upvotes: 1

Related Questions