Revision: 40305
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 29, 2011 09:38 by mineschan
Initial Code
@implementation UINavigationBar(Background) -(void)drawRect:(CGRect)rect{ UIImage *navBgImage = [UIImage imageNamed:@"nav_bg.jpg"]; [navBgImage drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)]; } @end
Initial URL
Initial Description
@drag the UINavigationBar to you Xib @and paste the code to your App Delegate.h
Initial Title
iPhone Objective-c - Custom UINavigationBar Background Image
Initial Tags
Initial Language
Objective C