如何右对齐 UILabel 文本?
谢谢
最佳答案
myLabel.textAlignment = UITextAlignmentRight;
iOS Developer Library是一个很好的资源。
关于objective-c - 如何右对齐 UILabel 文本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6824842/
如何右对齐 UILabel 文本?
谢谢
最佳答案
myLabel.textAlignment = UITextAlignmentRight;
iOS Developer Library是一个很好的资源。
关于objective-c - 如何右对齐 UILabel 文本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6824842/
相关文章:
iphone - 如何使 icon.png 显示在旧 iphone 上,而 icon@2x.png 显示在较新的 iPhone 上?
ios - 使用 CoreGraphics 而不是 SpriteKit 的原因?
ios - UINavigationController 'corrupted navigation bar' 问题
ios - scrollToItemAtIndexPath 破坏 UICollectionViewCell 布局
cocoa-touch - iOS 获取类似 ActionSheet 的按钮