Showing pushviewcontroller animation look like presentModalViewController

If you want to a fade animation, this approach works. CATransition* transition = [CATransition animation]; transition.duration = 0.3; transition.type = kCATransitionFade; transition.subtype = kCATransitionFromTop; [self.navigationController.view.layer addAnimation:transition forKey:kCATransition]; [self.navigationController pushViewController:gridController animated:NO];

UIModalTransitionStylePartialCurl doesn’t get back to previous state. (Not dismissing)

Here is the link to Apple site for the Modal View Controllers Basically, you need to setup delegate, etc. And call dismissModalViewControllerAnimated: method from your viewcontroller A. Let me know if you need further help. Edit per MiiChiel: In BController.h file, add this: @protocol BControllerDelegate <NSObject> -(void)dismissMe; @end @interface BController : UIViewController //… @property (assign) … Read more

Present modal view controller in half size parent controller

You can use a UIPresentationController to achieve this. For this you let the presenting ViewController implement the UIViewControllerTransitioningDelegate and return your PresentationController for the half sized presentation: func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? { return HalfSizePresentationController(presentedViewController: presented, presenting: presentingViewController) } When presenting you set the presentation style to .Custom and set … Read more

iOS: Modal ViewController with transparent background

For those trying to get this to work in iOS 8, the “Apple-approved” way to display a transparent modal view controller is by setting modalPresentationStyle on the presented controller to UIModalPresentationOverCurrentContext. This can be done in code, or by setting the properties of the segue in the storyboard. From the UIViewController documentation: UIModalPresentationOverCurrentContext A presentation … Read more