警告框

UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"开始录制!" message:nil preferredStyle:UIAlertControllerStyleAlert];
        UIAlertAction *enterAction = [UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleCancel handler:nil];
        [alertController addAction:enterAction];
        [self showDetailViewController:alertController sender:self];

posted @ 2016-01-26 19:03  Bo-tree  阅读(175)  评论(0编辑  收藏  举报