macOS, iOS

Alert에 OK버튼 추가하기

SweetDev 2019. 12. 11. 01:47

 let defaultAction = UIAlertAction(title: "OK", style: .destructive, handler : nil)

          alert.addAction(defaultAction)