Please tell me how I can create a project for iOS5 + in my Xcode 4.6, where all the builds for iOS6 +
I am changing the deployment goal
And how to change the base SDK? Or maybe I can’t change it?
And what should I do so that my Xcode shows me warnings if I try to use methods that can only be used in iOS 6+?
. - , . iOS 5.0, , iOS 5.0 . SDK - SDK, . SDK., iOS5.0 , 5.0. SDK. , SDK , ios6, iOS6. SDK, . , , , . , .
. - , . iOS 5.0, , iOS 5.0 . SDK - SDK, . SDK.
, iOS5.0 , 5.0. SDK. , SDK , ios6, iOS6. SDK, . , , , . , .
. , autoLayout . ios5
, , ios 5 api . ios 5.0 ( ), , ios6 ( ).
ios6 :
#if __IPHONE_OS_VERSION_MIN_REQUIRED > __IPHONE_6_0 // Your ios6 code goes here #endif
2: : [[[UIDevice currentDevice] systemVersion] floatValue] > 6.0
[[[UIDevice currentDevice] systemVersion] floatValue] > 6.0