I am creating an app, in which I need to move another view using method presentModalViewController:Animated.
But I have a memory leak and a warning about the presentModalViewController:Animated being deprecated in iOS 6.
and I also get dismissModalViewController:Animated deprecated.
Can anyone tell me the method which is useable in the replacement of that method.
Yes, the above method you specify is deprecated in iOS6. Here are related methods that are deprecated:
now above method is used Instead of:
and
now above method is used Instead of: