Eric Brotto
Eric Brotto

Reputation: 54251

Targeting a device (not an iOS)

Is this possible? I want to target iOS 4.0 and the iPhone 4 device in my App Store distribution build. How would I do that?

Thanks!

Upvotes: 1

Views: 715

Answers (3)

Vladimir
Vladimir

Reputation: 170839

Applications can (and should) be limited to specific device capabilities, not to specific models - you can use UIRequiredDeviceCapabilities in application info.plist file for that (check the list of available keys here in "iTunes requirements" section.)

So the key to be used will depend to what functions your application require, it seems you can use front-facing-camera as only iphone4 currently has that.

Upvotes: 4

Codo
Codo

Reputation: 78835

You cannot limit to a certain device but you can limit to devices with certain capabilities. E.g. you could declare that your app requires telephony and front-facing-camera. That would more or less restrict your app to the iPhone 4G.

Required capabilities are declared in the Info.plist file

Upvotes: 1

Nick Weaver
Nick Weaver

Reputation: 47241

This is not possible and IMHO not wanted by Apple. I don't think that a target device would have any impact on limitation of device, if it was possible. However if your App relies on a fast device and it's unsuable on a 3g you may have to improve performance.

Upvotes: 0

Related Questions