I am getting a warning in XCode:
'presentModalViewController:animated:' is deprecated: first deprecated in iOS 6.0
on this line of code:
[self presentModalViewController:initialSettingsVC animated:YES];
I tried to replace it as suggested in the documentation with:
[self presentModalViewController:initialSettingsVC animated:YES completion:nil];
I now get an error in XCode:
No visible @interface for 'ViewController' declares the selector 'presentModalViewController:animated:completion:'
Any ideas?