Gonzalo Bahamondez Gonzalo Bahamondez - 1 year ago 131
iOS Question

MPMediaPickerController customize the colors of the labels and icons

I need change the labels colors of

item, on iOS 7 , im using
, what can i do?.

My code of the creation of

- (IBAction)addSongs:(id)sender {
MPMediaPickerController *picker = [[MPMediaPickerController alloc] initWithMediaTypes:MPMediaTypeMusic];
picker.delegate = self;
picker.allowsPickingMultipleItems = YES;

I was trying with this but not works: https://gist.github.com/acidlemon/1955332

Examples:enter image description here

enter image description here

Thanks in advance.

Answer Source

Change your tab bar's tintColor using the appearance proxy, e.g.:

[[UITabBar appearance] setTintColor:[UIColor yellowColor]];

To change the tintColor of all views, including your label, you can do the following in your AppDelegate.m file:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    [[UIView appearance] setTintColor:[UIColor yellowColor]];

    return YES;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download