[英]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.