How to target only the ipad2?

Hi All,

I have a game that currently is universal. How can I in future detect I’m running on an iPad2 or iPad3 and make
changes in the code to suit the more powerfull machines?

Better still how can you make a non universal app that targets only say the iPad2?

documentation is your friend

http://unity3d.com/support/documentation/ScriptReference/iPhoneSettings-generation.html

theres an obj c way of doing it , but you will have to google for it

about the non universal that only targets ipad2, thats simply not possible , so you will have to place some conditionals in your ode to make it work

I think the iPad1 lacks accelerometer support, which would make it possible I guess, to require accelerometer in info.plist

You probably meant gyro cause all iOS devices have accelerometer. Note that Apple sometimes rejects app if it relies on artificial/fake requirements.

iPad 1 has a acceleromotor. So that wont work…

Easiest fix: front-facing-camera

This all sounds a bit of a bummer. So if you wanted an app to take advantage of the ipad 2 or 3 but it would be unlikely to run very well on
the ipad 1 your stuffed? Apple would only list it as universal? I was going to do Ex versions of my games, you know much better visuals than on the ipad 1.

It worked fine for me to detect what WASN’T there. If the ipad1 ISN’T available and the res is equal to or over 1024 then it has to be ipad2 or ipad3.

As for ipad1, just halve all textures, halve all everything basically…

For ipad1 you can leave the textures widely, but reduce the effects and take gpu / overdraw lighter materials

And yes its not possible to exclude the ipad1 unless your game requires gyro to work, simple as that.
Apple has no interest in fuck-mentation like its present on android where stuff works on 3 devices and not on the rest and crap like that.
Its 1 platform - 1 store - 1 consistent experience
Go with it or go elsewhere, thats how Apple platforms work

In our case it was textures we had to hit due to low memory availability (100 or so on ipad1 before springboard)… ipad2 was stable past 200 meg of ram usage.

Does Apple make exceptions for bigger budget games, or have they changed their policy? Walking Dead : The Game does not run on iPad 1. Warning is clearly stated on the game’s app store page.

I would just put an “iPad2+ Only” icon on every screenshot (after the game is on sale) and descriptions, Apple does nothing about that.

I’m a bit confused. My understanding was that if your app doesn’t require device specific functionalities, it should be compatible with earlier gen devices. But a few apps out there explicitely warn that they will not run on iPad1, and don’t make use of later gen gadgets(gyro, camera, etc…).

Is this perfectly Apple compliant practise, or barely tolerated and potential source of rejection?

Thanks in advance for your insights,

Gregzo

right now, if you just want to target ipad 2 and 3, theres is an easy way of doing it… just target your project to iOS 6 , ipad 1 doesnt support iOS 6 so thats a quick and easy way to do it, ios users have a fast adoption rate of new versions, unlike android