Commit db018efc authored by Felix Paul Kühne's avatar Felix Paul Kühne

Library View: allow rotation on iPad

parent 69d1e51a
......@@ -208,6 +208,21 @@
[self.navigationController pushViewController:self.aboutViewController animated:YES];
}
/* deprecated in iOS 6 */
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {
return YES; // We support all 4 possible orientations
}
/* introduced in iOS 6 */
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskAll;
}
/* introduced in iOS 6 */
- (BOOL)shouldAutorotate {
return YES;
}
#pragma mark - tab bar
- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment