Guest User

Untitled

a guest
Jan 16th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. UIViewController *controller = [MyViewController myViewController];
  2.  
  3. // -viewDidLoad has not been called (if +myViewController doesn't call -view.)
  4.  
  5. UIView *view = [controller view];
  6.  
  7. // -viewDidLoad has been called.
  8.  
  9. view.frame = [UIApplication sharedApplication].delegate.window.bounds;
Add Comment
Please, Sign In to add comment