Hi I am trying to change the UiAlertview BG color to green, using setBGcolor it give me following output, Which had a dark color Specified in SetBGColor, anyother way to remove the background color or something else.
Asked
Active
Viewed 1.5k times
2 Answers
7
you can change the image or background of the UIAlertView
but add some subview to it. Here is link which can be useful for you . I am also posting some images for you from given link. But these files are not working in iOS 7
Hope this helps.

iEinstein
- 2,100
- 1
- 21
- 32
-
1@iEinstein the link you provided is not working ..can you provide code or working link? – Narasimha Nallamsetty Jun 11 '15 at 12:56
-
@NarasimhaNallamsetty- Really Brother it don't work after iOS 6 – iEinstein Jun 12 '15 at 19:07
3
No, you can't customize a UIAlertView
, nor can you can use appearance
property in this case.
So if you have to do it, what you can do is use a view
that gives a UIAlertView
-like display. You can create a custom view with buttons and use it throughout the app.
Or you can check this link. It might help you!
-
1
-
4From Apple's documentation: "Appearance of Alert Views: You cannot customize the appearance of alert views." – John Stephen Aug 26 '14 at 18:42