iOS开发小常识之设置导航栏背景图片

- (void)viewDidLoad {

[super viewDidLoad];

self.interactivePopGestureRecognizer.delegate = self;

[self.navigationBar setBackgroundImage:[UIImage imageNamed:@"navigationbarBackgroundWhite"] forBarMetrics:UIBarMetricsDefault];

}

你可能感兴趣的:(iOS开发小常识之设置导航栏背景图片)