iOS 5 black transparent UIAlertView

情到浓时终转凉″ 提交于 2019-12-13 22:14:02

问题


I'm aware that this question has been asked before for earlier versions of iOS, however, as far as I remember, people at the WWDC this year emphasised that we can finally customise everything very easily, e.g. the tint colours of switches (UISwitch onTintColor etc.).

I had a look at the AlertView but the only options are password input / text input. Perhaps I'm missing something obvious here, but is it still not possible to change the background tint colour of an UIAlertView in iOS 5 easily? All the other UIAlertViews in iOS are blackish/transparent, so there should be an easy way or not?

I checked the docs but couldn't find anything specific for iOS 5.


回答1:


I have no idea if the background color can be changed that easily in iOS5 but traditionally speaking changing UIAlertView background is to do with setting a new image. The link you provided & this link provide help.



来源:https://stackoverflow.com/questions/7984732/ios-5-black-transparent-uialertview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!