Roula
Roula

Reputation: 99

How to stop supporting iOS7

I have just installed Xcode 5, and I have an application that should be targeted only to iOS 6.0 and iOS 6.1 devices.

How can I stop supporting iOS 7.0 ??

Upvotes: 1

Views: 144

Answers (3)

ilya n.
ilya n.

Reputation: 18816

It's not possible to prevent the installation of your app to devices that meet minimum version requirements.

Of course, you're free to check in your app the iOS version and do something about that. For example, if your concern is really that the user user should download another, iOS 7-designed version of your app, you can inform her about this possibility:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
     if ([self.window respondsToSelector:@selector(setTintColor:)]) // iOS 7
          ... // redirect user to better, tint-enabled version
     return YES;
}

Upvotes: 0

JRG-Developer
JRG-Developer

Reputation: 12663

As others have noted, you can't "not support iOS 7". However, you can delay upgrading to the iOS 7 SDK (at least, in the short term).

To do such, simply continue using Xcode 4 to build your app. When you're ready to submit it, simply do such using Xcode 4 like you normally would.

For the time being, Apple will most likely accept apps built using the iOS 6 SKD. (Imagine, for example, that you've spent several months or a year building your app... Apple will still let you submit it for the time being even using an older SDK).

Further, the app will run and appear correctly (in many/most cases) using iOS 6 UI components for the most part (in example, UIAlertView is an exception to this, which will use the iOS 7's UIAlertView look).

In the long term, however, you really should convert your app to use the latest SDK.

Upvotes: 2

Antonio MG
Antonio MG

Reputation: 20410

That is not possible, you can stop supporting previous versions of iOS, but not the other way. You need to prepare your app to work on iOS7.

YOu don't need to redesign your app or anything, just open in with XCode 5 and get rid of all the warnings/small bugs.

Upvotes: 3

Related Questions