Guest User

Untitled

a guest
Jul 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. newView.frame = CGRectMake(60, 140, 200, 200);
  2. [parentView addSubview:newView];
  3.  
  4. MyViewController *infoViewController = [[MyViewController alloc] init];
  5. //pass data to the new view controller, e.g.
  6. //[infoViewController setInfoText:...];
  7. [self presentModalViewController:infoViewController animated:YES];
  8. [infoViewController release];
Add Comment
Please, Sign In to add comment