- 自定义的titleView中重写@property(nonatomic, assign) CGSize intrinsicContentSize;
- titleView.intrinsicContentSize = CGSizeMake(KScreenWidth, 64);
self.navigationItem.titleView = titleView;
本文标题:iOS 11 自定义navigationItem的titleVi
本文链接:https://www.haomeiwen.com/subject/nmuwpxtx.html
网友评论