brentvdalling of Red Cone Development
3/30/2020 - 9:27 PM

UIAlertView - Exception Alert

Allows the ipad to display an alert to the user. Must use exception.

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Transaction Failure. Please screenshot this error and contact Bookman"
                                                        message:[NSString stringWithFormat:@"%@\r%@",
                                                                 exception.reason, ExtractStackTrace(exception.callStackSymbols, @"")]
                                                       delegate:nil
                                              cancelButtonTitle:@"Continue"
                                              otherButtonTitles:nil];
        [alert show];