UIActionSheetDelegate协议中定义的监视方法
来源:互联网 发布:sql server安全策略 编辑:程序博客网 时间:2024/05/01 11:00
序言:
与UIalertView一样,UIActionSheetZ中也设置了delegate属性,可监视UIActionSheet的各状态。
调用时机-(void)willPresentActionSheet:(UIActionSheet *)actionSheet操作表显示前被调用。-(void)didPresentActionSheet:(UIActionSheet *)actionSheet操作表显示后被调用。-(void)actionSheetCancel:(UIActionSheet *)actionSheet操作表中被强制关闭时被调用。例如操作表显示时应用程序突然关闭等场合。触摸取消按钮时不调用此方法。-(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
触摸操作表中的任意按键时被调用。此方法比-(void)actionSheet:(UIActionSheet *)actionSheet willDismissWithButtonIndex:(NSInteger)buttonIndex方法先背掉用-(void)actionSheet:(UIActionSheet *)actionSheet willDismissWithButtonIndex:(NSInteger)buttonIndex操作表关闭前被调用-(void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex操作表关闭后被调用。操作表显示中应用程序进入睡眠状态时也被调用。
0 0
- UIActionSheetDelegate协议中定义的监视方法
- HTTP/1.1协议中定义的八种方法
- HTTP/1.1协议中定义的八种方法
- 类遵守一个协议,协议中定义的@required方法可以不完全实现么?
- 类遵守一个协议,协议中定义的@required方法可以不完全实现么?
- 监视服务提供者中ServiceImpl中方法的调用
- 嵌入式系统中进程间通信的监视方法
- 嵌入式系统中进程间通信的监视方法
- 嵌入式系统中进程间通信的监视方法
- UIApplicationDelegate协议定义的方法说明
- UIApplicationDelegate协议定义的方法说明
- UIApplicationDelegate协议定义的方法说明
- UIApplicationDelegate协议定义的方法说明
- UIApplicationDelegate协议定义的方法说明
- java中方法的定义
- 类中方法的定义
- java中方法的定义
- nstools中信息窗显示方法和报文监视的显示方法
- C# 调用readline方法逐行替换内容
- Ios 面试题
- hibernate select 查询方式总结
- UVa 699 - The Falling Leaves
- MAVEN安装教程
- UIActionSheetDelegate协议中定义的监视方法
- jquery选择全选择等
- OpenGL:纹理基础总结
- MongoDB在mongo控制台下的基本使用命令
- *(leetcode_string) Longest Common Prefix
- UISlider简介
- golang设计模式的一些看法
- AmazeUI 点击元素显示全屏
- 网线水晶头接法详细图文教程