Exclude IPhone 3GS from App (Adobe Air) [duplicate] - iphone

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Can I restrict my iPhone app from being used by iPhone3G’s?
I have build an application for IOS and it runs fine on IPhone 4 (and above) and all IPads.
Just the 3GS seens to lack power to run it well. Can i exclude the app for these devices?
I have found using UIRequiredDeviceCapabilities and http://developer.apple.com/library/ios/#documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html to limit apps using required Capabilities. But i can not find something to just exclude the 3GS. Does anyone know ?

Add UIRequiredDeviceCapabilities key to info.plist file and front-facing-camera as required value. If I am correct, 3GS doesn't have a front camera. Here is the apple documentation with all possible values. As mentioned by TonyMkenu in comments, check this link for UIRequiredDeviceCapabilities and Device Compatibility Matrix

Related

Change compatibility of submitted app from universal to iPhone only

My app that I submitted yesterday to the App Store had to be compatible only for iPhones because that is how I already set it to like this.
Now I saw that on iTunes on my app it says that is compatible with iPhone, iPad and iPod and it really should be only iPhone.
I tried to solve the problem with adding the element telephony to the array Required device capabilities in info.plist like this.
Will that make in iTunes to say Compatible with iPhone only and not allow installs on iPads and iPods ? If not how can I solve the problem ?
Yes, that should do it according to this other stack overflow post:
How to Restrict the iOS app only for iPhone excluding iPad?
Essentially there's no way to restrict apps by device unless the device doesn't have a feature you need, in this case, the ability to make calls (telephony).

Converting iPhone app to Universal app [duplicate]

This question already has an answer here:
How to create Universal apps in iPhone/iPad?
(1 answer)
Closed 9 years ago.
As my iPhone app is working perfectly on iPhone with full screen but when i try to run the app in iPad it shows with the iphone screen. Is it possible to run the app in full screen without jailbreaking the iPad or using the double pixel method ?
Well, you need to actually create one version for iPad, with the corresponding XIB's and classes and other functionalities you might want to add. Remember that an iPad version is more than justa bigger version of the iPhone one...
This Question ask in earlier But read this Official Documentation This might be help flu for you..other option is Search in GOOGLE is best way for getting more ways for create Universal App.
Also This site is related to Your Question.

I only want my app to support the iPhone 5 and iPod touch 5th gen how do I set it so it won't be allowed for download by other devices?

The app I created is only designed to support the iPhone 5 and iPod touch 5th Gen because of their resolution. How do I set it up so that it can only be downloaded and be installed on iPhone5s or iPod Touch 5th gen devices? Thanks
Possible duplicate of this question
Apple Appstore has no such feature as on Android Market to filter devices on which app can be downloaded. However you can specify required device capabilities in info.plist by using UIRequiredDeviceCapabilities key. You can find possible values in this Apple Documentation
Extending on #Atif 's answer. you can see device capabilities on the Device compatibility matrix that is found here: https://developer.apple.com/library/ios/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html#//apple_ref/doc/uid/TP40013599-CH17-SW1

How to programmatically detect if the app is running on a device with performance >= 4S? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Determine device (iPhone, iPod Touch) with iPhone SDK
Detect the specific iPhone/iPod touch model
If an app has some features which require high hardware performance which look only good on iPhone 4S and higher, how can I detect wether or not it is an iPhone 4?
I know it is not a good idea to detect models. but better to detect capabilities. How can I safely check that it's a device with a performance >= iPhone 4S?
You want to check the device id, not the version of the iOS, refer to this answer.
Without using any libraries, you could also refer to this answer.

iPhone Target Certain Devices

I'm want to target the iPhone 4, iPhone 4S, iPod Touch (4th generation). I do not want to target the iPhone 3G and iPhone 3GS. I've seen some post that said this is not possible. However, I notice in the App Store that some apps do this such as the picture below.
How would I accomplish this?
Those requirements show up because the developers have put armv7 as an entry in the UIRequiredDeviceCapabilities Info.plist key. There's no key specifically to target the iPhone 4 and up, although you can probably eliminate the 3GS using one of the other keys.
Why are you trying to stop people from installing your app on older devices?
I believe you want to set UIRequiredDeviceCapabilities to specify exactly which features your app needs. For example, the camera-flash key is only going to be true for iPhone4 and later, if that's what you need.
There's also a Q&A article on it.
In addition to setting the features the device needs with UIRequiredDeviceCapabilities, you can also specify the minimum iOS version that needs to be installed.
See this Apple Technical Note, TN2250.