首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Iphone >

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

2012-11-06 
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


点击下载本文源代码

热点排行