Use iOS 7 to preview iOS 7

How can I use the look of your application prior to iOS 7 for your application? I just upgraded to iOS 7, and I have some applications on the phone that are still using the look and feel of iOS 7. For example, one application uses the old UIPickerView style, but works on iOS 7.

When I tested the launch of the application that I am developing on the iOS 7 simulator, it automatically uses the new UIPickerView "without any changes.

Therefore, I would prefer my application to use the look of pre-iOS 7 until I have updated my application for iOS 7.

Here is the image of the launch of Checkmark on iOS 7, you can see it using the pre iOS 7 keyboard:

enter image description here

+7
ios objective-c cocoa-touch ios6 ios7
source share
4 answers

It's quite simple: you need to create your application using the iOS6 SDK. iOS 7 detects older applications by checking the SDK with which the application was associated.

You can switch the "base SDKs" in Xcode by selecting a target, go to the build settings tab and find the "Base SDK" setting in the "Architecture" section.

If you do not have an old SDK, you may need to use an earlier version of Xcode (4.6). Rob Napier describes here how to point the new Xcode to the old SDKs.

Please note that although many user interface elements retain the look of iOS 6, some do not ( UIAlertView , UIActionSheet ).

+10
source share

If you use standard user interface components, you will automatically get a new style on iOS 7, I just can’t get them to appear like in iOS 6. The only way you "I will be able to display them as elements of iOS 6 to create custom elements and stylize them themselves, however there is a risk of doing this when you send to Apple, they will refuse based on HIG hacking.

0
source share

On an iOS 7 device, the entire user interface of the system, such as alerts and notifications, uses the look of iOS 7, even if your app uses an earlier look.

From the Apple migration guide: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TransitionGuide/SupportingEarlieriOS.html#//apple_ref/doc/uid/TP40013174-CH14-SW1

0
source share

Not only do you need to create an application using the iOS 6 SDK or earlier, you need to use Xcode 4.6 or earlier. I just went through all this, and targeting the iOS 6 SDK from Xcode 5 is simply not enough.

Fortunately, you can install both versions of Xcode. Just download Xcode 4.6 and put it in your application folder and rename it to another application

-one
source share

All Articles