self.navigationItem.titleView 添加

2019-04-03  本文已影响0人  我是啊梁

需要自定义UIView 

重写

-(id)initWithFrame:(CGRect)frame

{

    if(self= [superinitWithFrame:frame]) {

    }

    return self;

}

self.navigationItem.titleView = youcustomView

上一篇 下一篇

猜你喜欢

热点阅读