Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController! #122

Open
CoderJsun opened this issue Apr 2, 2021 · 2 comments

Comments

@CoderJsun
Copy link

UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!

@lexuanquynh
Copy link

same issue

@lexuanquynh
Copy link

We should comment on the code while the problem is pending.

`

  • (void)alertWithTitle:(NSString *)title
    message:(NSString *)message
    delegate:(id)delegate
    additionalButtonTitle:(NSString *)additionalButtonTitle {
    [alertView dismissWithClickedButtonIndex:0 animated:NO];
    // UIAlertView *alertViewTemp = [[UIAlertView alloc] initWithTitle:title
    // message:message
    // delegate:delegate
    // cancelButtonTitle:@"OK"
    // otherButtonTitles:additionalButtonTitle, nil];
    // [alertViewTemp show];
    alertView = alertViewTemp;

    NSLog(@"%@: %@", title, message);
    }`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants