0
我的UIAlertController未显示,但代码看起来正确。UIAlertController未显示任何内容
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"Lorem"
message:@"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sed ultrices nisl."
preferredStyle:UIAlertControllerStyleAlert];
[alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:nil]];
[self presentViewController:alertController animated:YES completion:nil];