iPhone开发【4】常用控件之ActionSheet与AlertView

iPhone开发【四】常用控件之ActionSheet与AlertView转载请注明出处,原文网址:http://blog.csdn.net/m_changg

iPhone开发【四】常用控件之ActionSheet与AlertView

转载请注明出处,原文网址:http://blog.csdn.net/m_changgong/article/details/8103321 作者:张燕广

实现的功能:练习ActionSheet与AlertView的使用方法

关键词:ActionSheet AlertView

1、创建一个Single View Application工程,命名为:ActionSheetDemo,如下图

iPhone开发【4】常用控件之ActionSheet与AlertView

2、在ViewController.xib上放置一个Button,Title为“删除”

      修改ViewController.h,添加操作:

iPhone开发【4】常用控件之ActionSheet与AlertView


点击下载本文源代码