Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- newView.frame = CGRectMake(60, 140, 200, 200);
- [parentView addSubview:newView];
- MyViewController *infoViewController = [[MyViewController alloc] init];
- //pass data to the new view controller, e.g.
- //[infoViewController setInfoText:...];
- [self presentModalViewController:infoViewController animated:YES];
- [infoViewController release];
Add Comment
Please, Sign In to add comment