设置自定义self.navigationItem.rightBarButtonItem,iOS11以下这样写的写的按钮
[UIButton buttonWithType:UIButtonTypeCustom]不显示。
换成
[[UIButton alloc]initWithFrame:CGRectMake(0, 0, 50, 40)]
成功显示
设置自定义self.navigationItem.rightBarButtonItem,iOS11以下这样写的写的按钮
[UIButton buttonWithType:UIButtonTypeCustom]不显示。
换成
[[UIButton alloc]initWithFrame:CGRectMake(0, 0, 50, 40)]
成功显示
本文标题:2019-07-31
本文链接:https://www.haomeiwen.com/subject/xawtdctx.html
网友评论