Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Initialize the view controller the way you want to.
- ViewControllerB *controllerB = [[ViewControllerB alloc] init];
- // self - the current view controller (say view controller A), is presenting view controller B modally.
- [self presentModalViewController:controllerB animated:YES];
- [controllerB release];
Add Comment
Please, Sign In to add comment