
UIAlertController * alertController = [UIAlertController alertControllerWithTitle:@"是否打開“微信”" message:@"" preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction * cancleAction = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
}];
[alertController addAction:cancleAction];
UIAlertAction * sureAction = [UIAlertAction actionWithTitle:@"打開" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
}];
[alertController addAction:sureAction];
[self presentViewController:alertController animated:YES completion:nil];
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/106782.html
標籤:其他
上一篇:JAVA 介面的基本語法
下一篇:關于位運算有利于記憶的幾點
