Is it possible to change the selector of a UIAlertView without having to create a custom alert view subclass?
I want to change it from didDismissWithButtonIndex to something else.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. You can’t even do it with a custom subclass. The only practical way to do this is to create a proxy object that implements the selector and calls a different one, and forwards all other selectors on unchanged. But there’s no reason to ever actually do this.