Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
e6c41041
Commit
e6c41041
authored
Aug 24, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix status bar appearance in the future
parent
5beeb326
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
AspenProject/VLC for iOS-Info.plist
AspenProject/VLC for iOS-Info.plist
+2
-2
AspenProject/VLCMovieViewController.m
AspenProject/VLCMovieViewController.m
+6
-3
AspenProject/VLCPlaylistViewController.m
AspenProject/VLCPlaylistViewController.m
+8
-0
No files found.
AspenProject/VLC for iOS-Info.plist
View file @
e6c41041
...
...
@@ -182,8 +182,6 @@
<array>
<string>
armv7
</string>
</array>
<key>
UIStatusBarStyle
</key>
<string>
UIStatusBarStyleBlackOpaque
</string>
<key>
UIStatusBarTintParameters
</key>
<dict>
<key>
UINavigationBar
</key>
...
...
@@ -208,6 +206,8 @@
<string>
UIInterfaceOrientationLandscapeLeft
</string>
<string>
UIInterfaceOrientationLandscapeRight
</string>
</array>
<key>
UIViewControllerBasedStatusBarAppearance
</key>
<false/>
<key>
UTImportedTypeDeclarations
</key>
<array>
<dict>
...
...
AspenProject/VLCMovieViewController.m
View file @
e6c41041
...
...
@@ -269,8 +269,10 @@
[
self
.
navigationController
setNavigationBarHidden
:
YES
animated
:
YES
];
if
(
UI_USER_INTERFACE_IDIOM
()
==
UIUserInterfaceIdiomPhone
)
[
UIApplication
sharedApplication
].
statusBarStyle
=
UIStatusBarStyleBlackTranslucent
;
if
(
!
SYSTEM_RUNS_IN_THE_FUTURE
)
{
if
(
UI_USER_INTERFACE_IDIOM
()
==
UIUserInterfaceIdiomPhone
)
[
UIApplication
sharedApplication
].
statusBarStyle
=
UIStatusBarStyleBlackTranslucent
;
}
[
self
_startPlayback
];
...
...
@@ -445,7 +447,8 @@
_idleTimer
=
nil
;
}
[
self
.
navigationController
setNavigationBarHidden
:
NO
animated
:
YES
];
[
UIApplication
sharedApplication
].
statusBarStyle
=
UIStatusBarStyleBlackOpaque
;
if
(
!
SYSTEM_RUNS_IN_THE_FUTURE
)
[
UIApplication
sharedApplication
].
statusBarStyle
=
UIStatusBarStyleBlackOpaque
;
[[
UIApplication
sharedApplication
]
setStatusBarHidden
:
NO
withAnimation
:
UIStatusBarAnimationFade
];
[
super
viewWillDisappear
:
animated
];
...
...
AspenProject/VLCPlaylistViewController.m
View file @
e6c41041
...
...
@@ -18,6 +18,11 @@
#import "VLCAppDelegate.h"
#import "UIBarButtonItem+Theme.h"
#ifndef UIStatusBarStyleLightContent
#define UIStatusBarStyleLightContent 1
#endif
@implementation
EmptyLibraryView
@end
...
...
@@ -126,6 +131,9 @@
if
(
_foundMedia
.
count
<
1
)
[
self
performSelector
:
@selector
(
reloadContents
)
withObject
:
nil
afterDelay
:
.
0
];
[[
MLMediaLibrary
sharedMediaLibrary
]
performSelector
:
@selector
(
libraryDidAppear
)
withObject
:
nil
afterDelay
:
1
.];
if
(
SYSTEM_RUNS_IN_THE_FUTURE
)
[
UIApplication
sharedApplication
].
statusBarStyle
=
UIStatusBarStyleLightContent
;
}
-
(
void
)
viewDidDisappear
:(
BOOL
)
animated
...
...
Write
Preview
Markdown
is supported
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