Remove deprecated dismissModalViewControllerAnimated, replace with dismissViewControllerAnimated; Remove deprecated presentModalViewController, replace with presentViewController; Remove deprecated modalViewController, replace with presentedViewController.