iOS 5 UIAlertView自定义 [英] iOS 5 UIAlertView customisation
本文介绍了iOS 5 UIAlertView自定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将UIButton添加到UIAlertView,如下所示
I am adding UIButton to UIAlertView as below
iOS 6及以下版本适用于iOS 7,它就像这样
it is fine with iOS 6 and below now in iOS 7 it comes like this
请让我们知道解决此问题的方法。
Please let us know the way to resolve this issue.
推荐答案
您无法在警报视图中将任何视图添加为子视图符合IOS 7标准。请参考苹果文件。 (UOSlert视图在IOS 7中无法自定义)
You can't add any view as a sub view in alert view as per the IOS 7 standard. please refer apple document. (UIAlert view customization not possible in IOS 7)
这篇关于iOS 5 UIAlertView自定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文