Gonzalo Bahamondez Gonzalo Bahamondez - 7 months ago 45
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.


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;