
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/1254.html
標籤:iOS
上一篇:騰訊開發10年大佬:iOS開發現狀與發展淺析!給你一個職業規劃的方向
下一篇:spark的轉換算子2
