简体   繁体   English

恢复标识符在6.0警告之前的ios版本上不可用

[英]Restoration identifier is not available on ios version prior to 6.0 warning

I am using xcode 5,ios 7.When i run a code i get this warning ,eventhough the code is runnig.I went through developer.apple.com and found out this is something regarding restoration of app after coming from background to foreground. 我正在使用xcode 5,ios 7.当我运行代码时,我得到了这个警告,尽管代码是runnig.I经历了developer.apple.com并发现这是关于应用程序从后台到前台恢复之后的事情。 https://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/StatePreservation/StatePreservation.html https://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/StatePreservation/StatePreservation.html

But how to remove this ? 但是如何删除呢?

Warning tells you that property restorationIdentifier in UIViewController class is not available in iOS < 6.0. 警告告诉您UIViewController类中的属性UIViewController在iOS <6.0中不可用。 To fix this, set your deployment target to iOS >= 6.0 or don't use that property in your project. 要解决此问题,请将部署目标设置为iOS> = 6.0,或者不要在项目中使用该属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS 5中情节提要上的恢复标识符 - restoration identifier on storyboard in ios 5 警告:属性不可用:6.0之前的iOS版本上的最小字体比例 - warning: Attribute Unavailable: Minimum Font Scale on iOS versions prior to 6.0 类不可用。 在6.0之前的iOS版本上无法使用取消同步功能 - Class Unavailable. Unwind segues are not available on iOS versions prior to 6.0 UIstoryboard:模态选择的“动画”选项在6.0之前的iOS版本上不可用 - UIstoryboard: Animates option for Modal segues is not available on iOS versions prior to 6.0 iOS版本6.0之前的UICollectionView - UICollectionView on iOS versions prior to 6.0 如果使用的方法在最低支持版本上不可用,则iOS中的宏会发出警告 - Macros in iOS to give warning if method used is not available on minimum supported version iOS状态恢复记录警告而不是在模拟器中运行 - iOS state restoration logs warning instead of running in simulator 适用于低于iOS 6.0的设备的广告标识符 - Advertising Identifier for devices lower than iOS 6.0 8.0之前的iOS版本上的属性不可用警告 - Attribute Unavailable warning on iOS versions prior to 8.0 6.0之前的iOS版本不支持-fembed-bitcode - -fembed-bitcode is not supported on versions of iOS prior to 6.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM