开发者

How to put a view on the back button of navigation bar?

开发者 https://www.devze.com 2023-01-06 03:13 出处:网络
How to put a view on the back buttonof navigation bar? Not on title view, but on the back button. It seems like to me开发者_运维问答 that the back button is a UIBarButtonItem, which doesn\'t inherite

How to put a view on the back button of navigation bar?

Not on title view, but on the back button. It seems like to me开发者_运维问答 that the back button is a UIBarButtonItem, which doesn't inherite UIView.


You can do it programmatically using initWithCustomView.

AtomicElementViewController.m has a good example of this.

0

精彩评论

暂无评论...
验证码 换一张
取 消