after I update Xcode from 4.1 to 4.2, UIAlertView’s others button can’t display correctly.

and when I debug, the Rename button is UIAlertButton class and its frame is frame = (0 0; 0 0);
could you give a hand?
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.
UIAlertView just behave very badly when being subclassed. Apple seems to try to make it nearly impossible to subclass it.
But there are ways around it. The best one: A UIAlertView replacement — a view, that recreates the features of UIAlertView, without being one. TSAlertView is such a replacement.
For iOS 5 the
alertViewStylemight help you.