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:].
加载中,请稍侯......
精彩评论