Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>use <code>NSFoundationVersionNumber</code> condition for doing this <a href="https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TransitionGuide/SupportingEarlieriOS.html#//apple_ref/doc/uid/TP40013174-CH14-SW1" rel="nofollow noreferrer">Supporting iOS 6</a> </p> <p><img src="https://i.stack.imgur.com/ZNnNQ.png" alt="enter image description here"></p> <blockquote> <p>If you need to load different resources for different app versions—and you currently identify a storyboard or XIB file in your <strong>Info.plist</strong> file—</p> <p>you can use the version of the <code>Foundation framework</code> to determine the current system version and load the appropriate resource in <a href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intfm/UIApplicationDelegate/application:didFinishLaunchingWithOptions:" rel="nofollow noreferrer">application:didFinishLaunchingWithOptions:</a>. The code below shows how to check the Foundation framework version: </p> </blockquote> <pre><code> if (floor(NSFoundationVersionNumber) &lt;= NSFoundationVersionNumber_iOS_6_1) { // Load resources for iOS 6.1 or earlier } else { // Load resources for iOS 7 or later } </code></pre> <p>Take a look the best answer of the same thing that you want </p> <p><a href="https://stackoverflow.com/questions/18294872/ios-7-status-bar-back-to-ios-6-style">iOS 7 status bar back to iOS 6 default style in iPhone app?</a></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