Guest User

Untitled

a guest
Jan 21st, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. // Initialize the view controller the way you want to.
  2. ViewControllerB *controllerB = [[ViewControllerB alloc] init];
  3.  
  4. // self - the current view controller (say view controller A), is presenting view controller B modally.
  5. [self presentModalViewController:controllerB animated:YES];
  6.  
  7. [controllerB release];
Add Comment
Please, Sign In to add comment