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

1k views Asked by At

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

Is it posible ?

2

There are 2 answers

1
Fawad Masud On

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

3
Rizwan Shaikh On

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

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