Share via


UIAlertViewPredicate 대리자

정의

에 사용할 대리자입니다 ShouldEnableFirstOtherButton.

public delegate bool UIAlertViewPredicate(UIAlertView alertView);
type UIAlertViewPredicate = delegate of UIAlertView -> bool

매개 변수

alertView
UIAlertView

UIAlertView 이 대리자를 연결할 입니다.

반환 값

true 경고의 첫 번째 취소되지 않은 단추를 사용하도록 설정해야 하는 경우 입니다.

설명

애플리케이션 개발자는 이 대리자를 사용하여 "취소 단추" 인덱스(참조 CancelButtonIndex)에 없는 첫 번째 단추를 사용하도록 설정할지 여부를 프로그래밍 방식으로 결정할 수 있습니다.

적용 대상

추가 정보