/ Published in: Objective C
![](/img/icon_sav.png?v3)
@drag the UINavigationBar to you Xib
@and paste the code to your App Delegate.h
@and paste the code to your App Delegate.h
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@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
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)