[Solved] Swift – UIAlert with image

Try the below code in swift saveAction.setValue(UIImage(named: “name.png”).withRenderingMode(UIImageRenderingMode.alwaysOriginal), forKey: “image”) or try this saveAction.setValue(zdjecieGlowne.withRenderingMode(UIImageRenderingMode.alwaysOriginal), forKey: “image”) 2 solved Swift – UIAlert with image