iPhone-如何在UIToolbar上添加文本 [英] iphone - How to add text on UIToolbar
本文介绍了iPhone-如何在UIToolbar上添加文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在uitoolbar上添加文本,例如在下载电子邮件时使用Mail App,将在工具栏上显示正在下载
how to add text on uitoolbar, like Mail App when download email, there will show downloading on toolbar
推荐答案
将UILabel添加为子视图不是最好的方法...
Adding a UILabel as a subview isn't the best approach...
有关最佳方法,请参见此问题:
See this question for the best approach:
使用以下工具在UIToolbar内的UILabelIB在运行时不可见,如何解决?
即您使用UIBarButtonItem
i.e. you use a UIBarButtonItem
这篇关于iPhone-如何在UIToolbar上添加文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文