[vlc-devel] [PATCH 2/2] Make the keyboard dark in the iOS 7 search bars
Marc Etcheverry
marc at taplightsoftware.com
Thu Jun 26 01:21:04 CEST 2014
---
Sources/VLCAppDelegate.m | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Sources/VLCAppDelegate.m b/Sources/VLCAppDelegate.m
index 1046412..b74d92b 100644
--- a/Sources/VLCAppDelegate.m
+++ b/Sources/VLCAppDelegate.m
@@ -61,6 +61,11 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
+ // For UISearchBar as well
+ if (SYSTEM_RUNS_IOS7_OR_LATER) {
+ [[UITextField appearance] setKeyboardAppearance:UIKeyboardAppearanceDark];
+ }
+
BWQuincyManager *quincyManager = [BWQuincyManager sharedQuincyManager];
[quincyManager setSubmissionURL:@"http://crash.videolan.org/crash_v200.php"];
[quincyManager setDelegate:self];
--
1.8.5.2 (Apple Git-48)
More information about the vlc-devel
mailing list