开发者

UIToolbar multiline text

Hey guys, I'm tr开发者_开发百科ying to add text to my UIToolbar, but there's a catch: I want to change the font and have 2 lines of text (top line smaller, bottom line bigger). Any ideas how to do that?

Thanks in advance!


You need to create a bar button item that contains a custom view (which in your case could be a multiline UILabel). See -[UIBarButtonItem initWithCustomView:].

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜