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
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.