我目前正在使用以下代码(Swift)将图像添加到UIAlertAction。 purpleAction.setValue(pCircle, forKey: "image")
purpleAction.setValue(pCircle, forKey: "image")
如果可能,我想在UIAlertAction中将图像居中。当前,UIAlertAction的标题位于中间,图像显示在左侧。
ios swift uialertcontroller uialertaction
ios ×1
swift ×1
uialertaction ×1
uialertcontroller ×1