SWIFT : UIAlertController can only have one action with a style of UIAlertActionStyleCancel


SWIFT : UIAlertController can only have one action with a style of UIAlertActionStyleCancel

안녕하세요 전진시입니당 UIAlertController can only have one action with a style of UIAlertActionStyleCancel UIAlertController는 UIAlertActionStyleCancel 스타일의 작업을 하나만 가질 수 있습니다. alertStyle은 .cancel, .default .destructive 등이 있는데 하나의 alert에서는 스타일을 한가지씩만 사용할 수 있다는 말입니다! default 스타일은 중복해서 사용이 가능하지만 cancel 또는 destructive는 한가지의 버튼 스타일로만 적용할 수 있습니다 참고참고!


원문링크 : SWIFT : UIAlertController can only have one action with a style of UIAlertActionStyleCancel