In the alert view ,how to change background color & display bottom of view?

妖精的绣舞 提交于 2019-12-08 03:31:01

问题


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

Is it posible ?


回答1:


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
u can refer this post iOS SDK: Creating a Custom Alert View




回答2:


No it is not possible. You can make custom AlertView for that. Take a look at this https://github.com/wimagguc/ios-custom-alertview.



来源:https://stackoverflow.com/questions/30659049/in-the-alert-view-how-to-change-background-color-display-bottom-of-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!