"dismissModalViewControllerAnimated" is deprecated : first deprecated in iOS 6.0
2015-05-04 12:02
531 查看
概念:deprecated 弃用。表示已不被建议使用,可能随时取消它;建议采用新的来替代。
"modalViewController" 属性 is deprecated : first deprecated in iOS 6.0
而采用
presentedViewController
"dismissModalViewControllerAnimated" is deprecated : first deprecated in iOS 6.0
而采用
dismissViewControllerAnimated:(BOOL) completion:^(void)completion
如:[self dismissViewControllerAnimated:YES completion:nil];
"presentModalViewController: animated:" is deprecated : first deprecated in iOS 6.0
而采用
presentViewController:(UIViewController *) animated:(BOOL) completion:^(void)completion
如:[self.viewController presentViewController:controller animated:YES completion:nil];
"automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers" is deprecated : first deprecated in iOS 6.0
而采用
shouldAutomaticallyForwardRotationMethods 和 shouldAutomaticallyForwardAppearanceMethods
"shouldAutorotateToInterfaceOrientation:" is deprecated : first deprecated in iOS 6.0
而采用
重载 supportedInterfaceOrientations 和 preferredInterfaceOrientationForPresentation 方法
"viewDidUnload"和"viewWillUnload" 在iOS 6.0从不调用。
"modalViewController" 属性 is deprecated : first deprecated in iOS 6.0
而采用
presentedViewController
"dismissModalViewControllerAnimated" is deprecated : first deprecated in iOS 6.0
而采用
dismissViewControllerAnimated:(BOOL) completion:^(void)completion
如:[self dismissViewControllerAnimated:YES completion:nil];
"presentModalViewController: animated:" is deprecated : first deprecated in iOS 6.0
而采用
presentViewController:(UIViewController *) animated:(BOOL) completion:^(void)completion
如:[self.viewController presentViewController:controller animated:YES completion:nil];
"automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers" is deprecated : first deprecated in iOS 6.0
而采用
shouldAutomaticallyForwardRotationMethods 和 shouldAutomaticallyForwardAppearanceMethods
"shouldAutorotateToInterfaceOrientation:" is deprecated : first deprecated in iOS 6.0
而采用
重载 supportedInterfaceOrientations 和 preferredInterfaceOrientationForPresentation 方法
"viewDidUnload"和"viewWillUnload" 在iOS 6.0从不调用。
相关文章推荐
- [问题记录]'dismissModalViewControllerAnimated:' is deprecated: first deprecated in iOS 6.0
- IOS开发~灵活使用 dismissViewControllerAnimated / dismissModalViewControllerAnimated
- UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlert
- IOS开发~灵活使用 dismissViewControllerAnimated / dismissModalViewControllerAnimated
- 'minimumFontSize' is deprecated: first deprecated in iOS 6.0
- UITextAlignmentCenter' is deprecated: first deprecated in iOS 6.0
- 'UITextAlignmentRight' is deprecated: first deprecated in ios6.0
- 'UITextAlignmentCenter' is deprecated: first deprecated in iOS 6.0设置UILabel的居中对齐时出错
- iOS 跳转出现attempt to dismiss modal view controller whose view does not currently ……的解决方案
- IOS dismissViewControllerAnimated 传值
- self.parentViewController dismissModalViewController在iOS不起作用
- IOS dismissViewControllerAnimated VS popViewControllerAnimated
- presentModalViewControllerAnimated 和 dismissModalViewControllerAnimated
- ABAddressBookCreate is deprecated: first deprecated in IOS6.0
- iOS开发 presentModalViewController ,dismiss 与 push ,pop
- presentModalViewControllerAnimated 和 dismissModalViewControllerAnimated
- iOSm界面跳转和参数传递之presentViewController与dismissViewControllerAnimated
- iOS: 如何dismissModalViewController AND pass data back
- ios中使用PresentModalViewController和dismissModalViewControllerAnimated的总结
- 'sizeWithFont:' is deprecated: first deprecated in iOS 7.0 - Use -sizeWithAttributes: