UIAlertView BackGround Color Change

Hi, I am trying to change the color of the BG UiAlertview to green using setBGcolor, it gives me the following result that had the dark color specified in SetBGColor, any other way to remove the background color or something else.

SetBGcolor OUTPUT

+2
source share
2 answers

No, you cannot customize the UIAlertView , and you cannot use the appearance property in this case. Therefore, if you need to do this, you can use a view that displays a UIAlertView display. You can create a custom view using the buttons and use it throughout the application.

Or you can check this link. It can help you!

+3
source

you can change the image or background of the UIAlertView , but add some kind of subtitle to it. Here is a link that may be useful to you. I also post some images for you at this link. But these files do not work in iOS 7

First imageenter image description here

Hope this helps.

+7
source

Source: https://habr.com/ru/post/956675/


All Articles