Skip to main content
Inspiring
August 17, 2012
Question

How to restrict the flex iPhone app only to iPhone 4 and above

  • August 17, 2012
  • 1 reply
  • 693 views

Hi,

We have developed and released flex iPhone app to the apple market. We want to restrict the application as it should work only for iPhone 4 and 4s, but in the iTunes application requirements section shows as following.

Requirements : Compatible with iPhone 3GS, iPhone 4, iPhone 4S, iPod touch (3rd generation), iPod touch (4th generation) and iPad. Requires iOS 4.0 or later.

How can we restrict the flex iPhone app installable only in iPhone 4 and 4s devices. The app should not install in iPhone 3Gs, iPod touch and iPad.

Thanks

Chandrashekarreddy Muthumula

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
August 17, 2012

Look for the UIDeviceFamily key in the inforadditions part of the app-descriptor xml. That's an array, and currently you have it set to include 1 and 2. Remove the 2 part, and that will cut out iPad.

You should realize that many things work better, or at least as good, on the 3gs as they do on the iPhone 4, because the Retina screen is dealing with 4 times the number of pixels. If you have some other reason to cut out the 3gs, you could require that the devices has a front camera. See this article for how to do that:

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f7e64a7f12cd2dd1867-8000.html

One thing though, if you don't have any feature in the app that requires a front camera, Apple may decide to reject the app. You should at least test the app on 3gs and the later iPods, it may well work fine. Also, you could add something to your notes in the iTunes page to strongly recommend iPhone 4 or 4S.