does know how add icons in ui alert controller way pages app has attached image below.
thanks in advance. :)
yes possible. can try set image property 0f action. should try out following code
var okaction = uialertaction(title: "ok", style: .default, handler: nil) let img = uiimage(named: "ico_ok.png") action.setvalue(img, forkey: "image") alert.addaction(action)
Comments
Post a Comment