Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @interface UINavigationBar (NavigationBarCategory)
- @end
- /********/
- #import "NavigationBarCategory.h"
- @implementation UINavigationBar (NavigationBarCategory)
- - (void)drawRect:(CGRect)rect {
- UIImage *img = [UIImage imageNamed: @"background-nav.jpg"];
- [img drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
- }
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement