Skip to content

Instantly share code, notes, and snippets.

@mpurbo
Created March 7, 2013 01:14
Show Gist options
  • Select an option

  • Save mpurbo/5104750 to your computer and use it in GitHub Desktop.

Select an option

Save mpurbo/5104750 to your computer and use it in GitHub Desktop.

Revisions

  1. mpurbo created this gist Mar 7, 2013.
    8 changes: 8 additions & 0 deletions gistfile1.m
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
    {
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
    }

    - (NSUInteger)supportedInterfaceOrientations {
    return UIInterfaceOrientationMaskPortrait;
    }