问题
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