Guest User

Untitled

a guest
Jan 21st, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. #import "MinecraftViewController.h"
  2.  
  3. @implementation MinecraftViewController
  4.  
  5. - (void)didReceiveMemoryWarning
  6. {
  7. // Releases the view if it doesn't have a superview.
  8. [super didReceiveMemoryWarning];
  9.  
  10. // Release any cached data, images, etc that aren't in use.
  11. }
  12.  
  13. #pragma mark - View lifecycle
  14.  
  15. // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
  16. - (void)viewDidLoad
  17. {
  18. [super viewDidLoad];
  19. }
  20.  
  21.  
  22. - (void)viewDidUnload
  23. {
  24. [super viewDidUnload];
  25. // Release any retained subviews of the main view.
  26. // e.g. self.myOutlet = nil;
  27. }
  28.  
  29. - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
  30. {
  31. // Return YES for supported orientations
  32. if (interfaceOrientation == UIInterfaceOrientationLandscapeLeft || interfaceOrientation == UIInterfaceOrientationLandscapeRight)
  33. return YES;
  34. else
  35. return NO;
  36. }
  37.  
  38. @end
Add Comment
Please, Sign In to add comment