destnation.view.frame = CGRectMake(self.view.frame.origin.x, -self.view.frame.size.height, self.view.frame.size.width, self.view.frame.size.height); [UIView animateWithDuration:0.7 animations:^{ [self.navigationController pushViewController:destnation animated:NO]; destnation.view.center = self.view.superview.center; }];
Home
»
iOS
»
Objective-C
»
PushViewController
» Animating Navigation Controller in iOS programmatically
Related Posts
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.
Click to see the code!
To insert emoticon you must added at least one space before the code.