我在XCode中收到警告:
'presentModalViewController:animated:' is deprecated: first deprecated in iOS 6.0
[self presentModalViewController:initialSettingsVC animated:YES];
我试图用documentation中的建议替换它:@H_404_5@
[self presentModalViewController:initialSettingsVC animated:YES completion:nil];
No visible @interface for ‘ViewController’ declares the selector
‘presentModalViewController:animated:completion:’@H_404_5@
有任何想法吗?@H_404_5@