Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
db018efc
Commit
db018efc
authored
May 18, 2013
by
Felix Paul Kühne
Browse files
Library View: allow rotation on iPad
parent
69d1e51a
Changes
1
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCPlaylistViewController.m
View file @
db018efc
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment