Uialertcontroller Example Objective C

[Solved] Uialertcontroller Example Objective C | Objectivec - Code Explorer | yomemimo.com
Question : uialertcontroller example objective c

Answered by : icraze

UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"My Alert"	message:@"This is an alert."	preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* defaultAction = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault	handler:^(UIAlertAction * action) {}];
[alert addAction:defaultAction];
[self presentViewController:alert animated:YES completion:nil];

Source : https://stackoverflow.com/questions/42173060/how-to-use-uialertcontroller | Last Update : Wed, 03 Jun 20

Answers related to uialertcontroller example objective c

Code Explorer Popular Question For Objectivec