【代码笔记】清除图片缓存UIActionSheet
2016-05-17 09:14
579 查看
一,效果图。
二,代码。
RootViewController.m
二,代码。
RootViewController.m
//点击任何处出现sheet -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UIActionSheet * sheet = [[UIActionSheet alloc] initWithTitle:@"确定要清空图片缓存?" delegate:self cancelButtonTitle:@"取消" destructiveButtonTitle:@"确定" otherButtonTitles:nil, nil]; [sheet showInView:self.view]; }
相关文章推荐
- AddressBookUI获取通讯录
- HZMenuView: 以UINavigationController为容器,且导航页面时不关闭的侧边栏(No close slideMenu)
- iOS设计UI工具大全
- Vue ES6
- priority_queue的用法
- MapReduce中使用SequenceFile的方式上传文件到集群中
- DA1458x使用之第一篇——GPIO
- NGUI/UGUI 小地图制作
- JAVA UUID 生成策略研究之为什么
- lucene整理4 -- 各种Query
- activiti自定义流程之整合(二):使用angular js整合ueditor创建表单
- 在Activiti中使用UUID作为主键生成策略
- Druid数据库连接池简单使用介绍
- StringBuilder与StringBuffer的区别
- 一个简单定制的Logstash filter
- Bluemix部署war包
- NSOperationQueue
- iOS - UISearchController
- 300. Longest Increasing Subsequence
- 新手教程之使用Xib自定义UITableViewCell