Monday, 3 September 2012

For setting the tab bar background image in iPhone

For setting the tab bar background image in iPhone
http://blog.theanalogguy.be/2011/09/14/custom-colored-uitabbar-icons-an-update/

 UIImage *tabBackground = [[UIImage imageNamed:@"tab_bg"]
                              resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
    [[UITabBar appearance] setBackgroundImage:tabBackground];
    [[UITabBar appearance] setSelectionIndicatorImage:
     [UIImage imageNamed:@"tab_select_indicator"]];
https://github.com/NOUSguide/NGTabBarController

No comments:

Post a Comment