change UIAlertcontroller background Color

前端 未结 7 901
孤城傲影
孤城傲影 2021-02-02 15:09

Ok so I have this alert that I am using and I want the background of it to be black not grey like it is. I have managed to change the colour of the text for the title and the me

7条回答
  •  死守一世寂寞
    2021-02-02 15:30

    Due to a known bug (https://openradar.appspot.com/22209332), the accepted solution doesn't work on iOS 9.

    See my full answer here: https://stackoverflow.com/a/37737212/1781087

提交回复
热议问题