有谁知道哪些方法在IOS 6.0中已弃用?
有谁知道,有多少方法是不推荐的IOS 6.0 ?
例如:
1) – shouldAutorotateToInterfaceOrientation:
在iOS 6.0中不推荐使用
而是使用
– shouldAutorotate
2)
– dismissModalViewControllerAnimated:
在iOS 6.0中不推荐使用
– presentModalViewController:animated:
在iOS 6.0中不推荐使用
而是使用
– presentViewController:animated:completion: – dismissViewControllerAnimated:completion:
另一个
– viewDidUnload Deprecated in iOS 6.0 – viewWillUnload Deprecated in iOS 6.0
例如,您可以检查NSArray的 Deprecated方法和CLLocationManager的Deprecated方法
列表很长但你可以google它。
iOS 6中的更改,已弃用方法列表链接
http://www.bgr.com/2012/07/16/ios-6-download-beta-3-change-log/
https://developer.apple.com/library/ios/#releasenotes/General/RN-iOSSDK-6_0/_index.html
https://developer.apple.com/library/mac/#releasenotes/DeveloperTools/RN-Xcode/_index.html
http://blog.twistedhq.com/post/31539631405/whats-new-in-the-new-apple-app-store-guidelines
http://www.bgr.com/2012/07/16/ios-6-download-beta-3-change-log/
http://9to5mac.com/2012/06/25/apple-pushes-ios-6-0-update-to-devs/
去看一下 !!! 🙂
在iOS 6和iOS 7之间的长列表中,uiallignment被替换为nsallignment