我已經把我的導航欄的背景,這個代碼在我的應用程序委託:UINavigationBar的背景圖像問題
@implementation UINavigationBar (UINavigationBarCategory)
- (void)drawRect:(CGRect)rect {
UIImage *backgroundImage = [UIImage imageNamed: @"Nav-rightpane.png"];
CGContextDrawImage(UIGraphicsGetCurrentContext(),
CGRectMake(0, 0, self.frame.size.width, self.frame.size.height),
backgroundImage.CGImage);
}
@end
這完美的作品,但現在我必須改變的背景,在UIPopoverController默認。任何想法呢?
謝謝