多行uibutton [英] multiline uibutton
本文介绍了多行uibutton的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在iPhone编程中将多行设置为 UIButton
的标题?
How to set a multiline as title of a UIButton
in iPhone programming ?
推荐答案
someButton.lineBreakMode = UILineBreakModeWordWrap;
在发布问题之前,请务必养成查阅文档的习惯。 Apple的文档非常全面,通常都会涉及到此类内容。
Be sure to try to get in the habit of consulting the documentation before posting a question. Apple's documentation is pretty comprehensive, and things like this generally get covered.
这篇关于多行uibutton的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文