Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>EDIT - Note that it is <strong>not possible</strong> to force an app to use the iOS 6 interface on an iOS 7 device using Xcode 5 (unless you make custom graphics). It is also <strong>not a good design approach</strong>. Users on iOS 7 expect a certain UI style, that's why they updated; so give it to them, don't force them back into an older interface.</p> <p>If you <em>really</em>, <em>really</em> need the pre-iOS-7 interface, you can download a copy of Xcode 4 and build with that. However, starting February 1, 2014 Apple will stop accepting apps built with anything earlier than Xcode 5.0 (I think I saw something about that in the iOS 7 dev docs, but can't find the reference again).</p> <hr> <p>Keeping the iOS 6 UI in your app, but building for iOS 7 is fairly straightforward. Make sure that you've set your Deployment Target as iOS 6.1 or earlier. Your Base SDK can still be set as iOS 7 though. Now, just follow the instructions below for each of your interface files:</p> <ol> <li>Open your storyboard file or XIB file </li> <li>Open the Utilities Panel on the right side. </li> <li><p>Click on The File Inspector Tab. You should now see something like this:</p> <p><img src="https://i.stack.imgur.com/wsSlB.png" alt="Xcode 5 Utilities Panel and File Inspector"></p></li> <li><p>Next go to the Interface Build Document Section and change the <code>Builds For</code> setting to <em>iOS 6.0 and Later</em> or whatever version you need.</p> <p><img src="https://i.stack.imgur.com/TRM4n.png" alt="Xcode 5 Utilities Panel Interface Build Document Section"></p></li> <li><p>Then change the <code>View As</code> setting to <em>iOS 6.1 or earlier</em>:</p> <p><img src="https://i.stack.imgur.com/Co2MK.png" alt="Xcode 5 Interface Build Document Section - View As Setting"></p></li> <li><p>Xcode will prompt you, just confirm that you want to convert to the older UI.</p></li> </ol> <p>Make sure to run your project in the iOS 6 Simulator. Otherwise, the iOS 7 Simulator will override it's own iOS 7 UI style. To download the iOS 6 Simulator, go to the Xcode Menu Bar. Select Xcode, Preferences. Then click on the Downloads tab. Finally, click on the Simulator(s) you need to download:</p> <p><img src="https://i.stack.imgur.com/FOCfL.png" alt="enter image description here"></p> <p>Then Run your app on the iOS 6 simulator: <img src="https://i.stack.imgur.com/N994t.png" alt="enter image description here"></p> <p>Unfortunately, even disabling the iOS 7 UI in Xcode does not override it on the device / simulator. Unless you design custom UI elements, <strong>there isn't a way to maintain your iOS 6 UI on iOS 7</strong>. But as I showed you, <strong>you can continue to edit it in iOS 6 and build for iOS 6</strong>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload