Frage

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.https://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/StatePreservation/StatePreservation.html

But how to remove this ?

War es hilfreich?

Lösung

Warning tells you that property restorationIdentifier in UIViewController class is not available in iOS < 6.0. To fix this, set your deployment target to iOS >= 6.0 or don't use that property in your project.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top