PHAirViewController icon indicating copy to clipboard operation
PHAirViewController copied to clipboard

Crash on UIAlertView closing

Open ostatnicky opened this issue 10 years ago • 1 comments

I can't say in which cases it happend but closing shown UIAlertView causes crash with PHAirViewController in a project.

UIAlertView *dialog = [[UIAlertView alloc] initWithTitle:@"Title" message:nil
                      delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
[dialog show];

ostatnicky avatar Sep 26 '14 17:09 ostatnicky

Hey @ostatnicky , does the crash occur in iOS8 only? If yes, be aware that UIAlertView has been deprecated in iOS8. Use UIAlertController instead. Learn more about UIAlertController here: http://useyourloaf.com/blog/2014/09/05/uialertcontroller-changes-in-ios-8.html

yunnnyunnn avatar Nov 13 '14 03:11 yunnnyunnn