将UIAlertView中的消息向左对齐在iOS 7中 [英] Align message in UIAlertView to left in iOS 7
本文介绍了将UIAlertView中的消息向左对齐在iOS 7中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在 UIAlertView
左侧的 iOS7
左对齐讯息,我可以在iOS 5.x和6.x使用 UITextAlignmentLeft
和 NSTextAlignmentLeft
而不是 code>。
I want to left align message in UIAlertView
to left in iOS7
, i am able to do that in iOS 5.x and 6.x using UITextAlignmentLeft
and NSTextAlignmentLeft
and not on iOS 7
.
推荐答案
Sten是正确的,我们不能在iOS 7中自定义UIAlertView的外观,如果你需要可以在 https://github.com/wimagguc/ios-custom-alertview
Sten is right we can't customize appearance of UIAlertView in iOS 7, if you need you can made a custom Alert view code is available at https://github.com/wimagguc/ios-custom-alertview
这篇关于将UIAlertView中的消息向左对齐在iOS 7中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文