美文网首页iOS Developer
iOS开发小常识之设置导航栏背景图片

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

作者: 提莫酱T | 来源:发表于2017-03-13 15:02 被阅读0次

- (void)viewDidLoad {

[super viewDidLoad];

self.interactivePopGestureRecognizer.delegate = self;

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

}

相关文章

网友评论

    本文标题:iOS开发小常识之设置导航栏背景图片

    本文链接:https://www.haomeiwen.com/subject/wxafnttx.html