"dismissModalViewController" that method is deprecated in iOS 6.0,so Xcode gives warning when your build run on iOS 6.0 and above version..
so simply we can resolve that warning as
Replace
To
so simply we can resolve that warning as
Replace
[self dismissModalViewControllerAnimated:YES];
To
[
self
dismissViewControllerAnimated:YES completion:nil];
No comments:
Post a Comment