Commit 66b0777d authored by sanmarcos's avatar sanmarcos Committed by Felix Paul Kühne
Browse files

Make the cursor for text fields and table view edit selection indicators orange rather than blue

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <>
parent 1b6c2bdb
......@@ -61,9 +61,15 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
// For UISearchBar as well
// Change the keyboard for UISearchBar
[[UITextField appearance] setKeyboardAppearance:UIKeyboardAppearanceDark];
// For the cursor
[[UITextField appearance] setTintColor:[UIColor VLCOrangeTintColor]];
// Don't override the 'Cancel' button color in the search bar with the previous UITextField call. Use the default blue color
[[UIBarButtonItem appearanceWhenContainedIn:[UISearchBar class], nil] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor colorWithRed:0.0 green:122.0/255.0 blue:1.0 alpha:1.0]} forState:UIControlStateNormal];
// For the edit selection indicators
[[UITableView appearance] setTintColor:[UIColor VLCOrangeTintColor]];
[[UISwitch appearance] setOnTintColor:[UIColor VLCOrangeTintColor]];
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