self.navigationItem.titleView 添加
2019-04-03 本文已影响0人
我是啊梁
需要自定义UIView
重写
-(id)initWithFrame:(CGRect)frame
{
if(self= [superinitWithFrame:frame]) {
}
return self;
}
self.navigationItem.titleView = youcustomView
需要自定义UIView
重写
-(id)initWithFrame:(CGRect)frame
{
if(self= [superinitWithFrame:frame]) {
}
return self;
}
self.navigationItem.titleView = youcustomView