alert 만들기 //얼럿 오브젝트 생성 let alert = UIAlertController(title: "타이틀", message: "얼럿 메세지", preferredStyle: .alert) //얼럿에 붙을 확인/취소 버튼 오브젝트 생성 let defaultAction = UIAlertAction(title: "확인버튼이름", style: .default) { action in /* 버튼을 눌렀을 때 수행할 코드 */ } } let cancelAction = UIAlertAction(title: "취소버튼이름", style: .cancel, handler: nil) //버튼 오브젝트를 얼럿 오브젝트에 "순서대로" 붙이기 alert.addAction(cancelAction) alert.addActio..