Enrique R.
Enrique R.

Reputation: 810

Exclude devices that do not support multitasking

I'm making an app that requires multitasking. Is there a way to compile an iPhone/iPad (universal) app so it excludes devices that do not support multitasking. I know iPhone 1, iPhone 3G and iTouch 1-2 do not support multitasking but I haven't found a way to build my app so it prevents people to download the app from the app store if they have one of these devices.

I was thinking to simply set the "Architectures" setting to armv7 on Xcode but I'm not sure if this will work and if it will have any other consequences.

Any help will be appreciated. Thanks!

Upvotes: 2

Views: 729

Answers (3)

JeremyP
JeremyP

Reputation: 86651

You should check in your application for multitasking support and fall back to a non multitasking alternative if it is not available.

Suppose you change the supported architectures to include ARM7 upwards. If you do, you need to find out what happens if somebody attempts to deploy such an application to an incompatible device. If iTunes stops them from doing it, that's fine and it's the right answer. But if iTunes lets them do deploy the app and it crashes when they try to run it, it would be far better to do the test for multitasking support and display an alert telling the user why your app won't work.

Upvotes: 2

Pranav Jaiswal
Pranav Jaiswal

Reputation: 3752

Go to targets section of your project--> navigate to Build Tab-->Go to Deployment tab & select IOS deployment target as 4.2. It will not run on IOS versions earlier than this.

Upvotes: 0

Stephen Darlington
Stephen Darlington

Reputation: 52565

You can set the minimum API level supported to be iOS 4.3. This version only runs on devices that support multi-tasking.

Upvotes: 2

Related Questions