在警报视图中,如何更改背景颜色和显示底部的视图? [英] In the alert view ,how to change background color & display bottom of view?

查看:76
本文介绍了在警报视图中,如何更改背景颜色和显示底部的视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要更改UIAlertView视图的背景颜色并更改警报视图的显示位置.

I want to change the UIAlertView view background colour and change displaying position of alert view.

可以吗?

推荐答案

UIAlertView类旨在按原样使用,并且不支持子类化.此类的视图层次结构是私有的,不能修改.

The UIAlertView class is intended to be used as-is and does not support subclassing. The view hierarchy for this class is private and must not be modified.

有关外观和行为配置的更多信息,请参见

For more information about appearance and behaviour configuration, see AlertView.

OR

用于更改我使用的背景颜色

for changing background color u me used

  • WCAlertView
  • SCLAlertView

OR
您可以参考 iOS SDK:创建自定义警报视图

OR
u can refer this post iOS SDK: Creating a Custom Alert View

这篇关于在警报视图中,如何更改背景颜色和显示底部的视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆