[英]iOS Ensure Bar Button Items Appear Full-Size in UINavigationBar on iPhone SE
[英]button does not show the full text in iPhone SE
像这样做,
button
到controller
的IBOutlet
连接。 Ex : think your button outlet name is
-> testButton 然后在viewdidload中:
testButton.setTitle("Delete\\n Tender", for: .normal) testButton.titleLabel?.numberOfLines = 2
希望这对您有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.