有谁知道,有多少方法已弃用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
答案 0 :(得分:20)
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/
检查出来!!! :)
答案 1 :(得分:11)
例如,您可以查看Deprecated methods for NSArray和Deprecated methods for CLLocationManager
列表很长但你可以google它。
答案 2 :(得分:0)
在iOS 6和iOS 7之间的长列表中,uiallignment被替换为nsallignment