sheet
来源:互联网 发布:appstore无法下载软件 编辑:程序博客网 时间:2024/06/14 01:24
UIAlertController *sheet = [UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleActionSheet];
UIAlertAction *paizhaoAlert = [UIAlertAction actionWithTitle:@"拍照" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
}];
[sheet addAction:paizhaoAlert];
UIAlertAction *xiangceAlert = [UIAlertAction actionWithTitle:@"相册" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
[self selectSheetAction:UIImagePickerControllerSourceTypePhotoLibrary];
}];
[sheet addAction:xiangceAlert];
UIAlertAction *cancleAlert = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
}];
[sheet addAction:cancleAlert];
[self presentViewController:sheet animated:YES completion:nil];
0 0
- sheet
- Property Sheet
- jquery.sheet
- jQuery.sheet
- Style sheet
- property sheet
- 复制sheet
- Data Sheet
- Cheat Sheet
- Cheat Sheet
- action sheet
- action sheet
- Bottom Sheet
- EXCEL-VBA:Sheet是否存在、新建Sheet、Sheet改名
- 合并多sheet 带sheet名
- 关于“cheat sheet”
- 关于Property sheet
- regular expressions cheat sheet
- 多个国内安卓模拟器的认识
- Swift 闭包Closures
- 如何理解handler.postDelayed方法的用途与意义?
- 在项目中根据配置文件路径生成File对象的方法
- 观电影“时间管理局”有感
- sheet
- NDK错误总结
- Android 第十一天
- Zend Studio 中安装emmet插件的方法
- hdu1176 dp
- 浏览器页面渲染基本过程
- iOS学习路线
- 淘宝架构框架
- 异常com.google.gson.internal.StringMap cannot be cast to XXX解决方案