[英]In the alert view ,how to change background color & display bottom of view?
I want to change the UIAlertView
view background colour and change displaying position of alert view. 我想更改
UIAlertView
视图背景颜色并更改警报视图的显示位置。
Is it posible ? 它可以吗?
The UIAlertView class is intended to be used as-is and does not support subclassing.
UIAlertView类旨在按原样使用,不支持子类化。 The view hierarchy for this class is private and must not be modified.
此类的视图层次结构是私有的,不得修改。
For more information about appearance and behaviour configuration, see AlertView . 有关外观和行为配置的详细信息,请参阅AlertView 。
OR 要么
for changing background color u me used 用于改变我使用的背景颜色
OR 要么
u can refer this post iOS SDK: Creating a Custom Alert View 你可以参考这篇文章iOS SDK:创建自定义警报视图
No it is not possible. 不,这是不可能的。 You can make custom AlertView for that.
您可以为此制作自定义AlertView。 Take a look at this https://github.com/wimagguc/ios-custom-alertview .
看看这个https://github.com/wimagguc/ios-custom-alertview 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.