0
我在我上工作的应用程序打印选项在那里我得到了我的问题如何只将图像添加到我的主要UINavigationController?
如果我在代码中添加用于添加图像的导航栏...
@implementation UINavigationBar (UINavigationBarCategory)
- (void)drawRect:(CGRect)rect
{
UIImage *image = [UIImage imageNamed:@"image.png"];
[image drawInRect:rect];
}
@end
它还将图像添加到我的UIPrintController弹出视图上的导航栏中。
如何防止这种情况发生?