Skip to content

Commit

Permalink
iOS5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
radif committed Sep 24, 2012
1 parent 42fad5b commit ddb0dca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions StaticTV.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1730,6 +1730,7 @@
GCC_PREFIX_HEADER = StaticTV/Prefix.pch;
"GCC_THUMB_SUPPORT[arch=armv6]" = "";
INFOPLIST_FILE = StaticTV/Resources/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
OTHER_LDFLAGS = (
"-lxml2",
"-lz",
Expand All @@ -1748,6 +1749,7 @@
GCC_PREFIX_HEADER = StaticTV/Prefix.pch;
"GCC_THUMB_SUPPORT[arch=armv6]" = "";
INFOPLIST_FILE = StaticTV/Resources/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
OTHER_LDFLAGS = (
"-lxml2",
"-lz",
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion StaticTV/ios/RootViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ - (void)viewDidLoad {
*/
// Override to allow orientations other than the default landscape orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return UIInterfaceOrientationIsLandscape( interfaceOrientation );
return UIInterfaceOrientationIsPortrait( interfaceOrientation );

// switch to this line if you want to set portrait view
// return UIInterfaceOrientationIsPortrait( interfaceOrientation );
Expand Down

0 comments on commit ddb0dca

Please sign in to comment.