iOS-67-TLDActionSheet控件(防微信,用法与UIActionSheet相同)
2016-08-15 20:49
471 查看
1、demo包含简单的类文件:
2、使用方法和iOS原生的UIActionSheet基本一样:
demo下载地址:http://download.csdn.net/detail/iot_li/9603974
2、使用方法和iOS原生的UIActionSheet基本一样:
// 有标题(防微信) - (IBAction)showActionSheet:(id)sender { TLDActionSheet *sheetView = [[TLDActionSheet alloc] initWithTitle:@"标题" delegate:self cancelButtonTitle:@"取消" destructiveButtonTitle:@"注意!" otherButtonTitles:@[@"投诉",@"保存图片",@"发送给朋友"]]; [sheetView setTitleColor:[UIColor redColor] WithIndex:0]; [sheetView setTitleColor:[UIColor greenColor] WithIndex:2]; [sheetView setCancelTitleColor:[UIColor yellowColor]]; [sheetView show]; } #pragma mark TLDActionSheetDelegate -(void)actionSheet:(TLDActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex{ NSLog(@"buttonIndex:%ld",buttonIndex); }
demo下载地址:http://download.csdn.net/detail/iot_li/9603974
相关文章推荐
- IOS提示控件UIActionSheet,UIAlertView
- iOS:提示框(警告框)控件UIActionSheet的详解
- [iOS] iPhone常用控件、UIActionSheet、UIAlertView
- 模仿IOS里面的UIActionSheet控件,有IOS6和IOS7两种风格
- Swift-iOS常用控件(UIActionSheet 动作列表)
- iOS UIAlertView和UIActionSheet的用法
- iOS UIActionSheet的用法
- IOS提示控件UIActionSheet,UIAlertView
- 【IOS 开发学习总结-OC-47】★ios开发之UI控件——UIAlertView与 UIActionSheet
- 模仿IOS里面的UIActionSheet控件
- IOS提示控件UIActionSheet,UIAlertView
- iOS开发 对话框UIActionSheet和UIAlertView用法
- IOS学习之UIActionSheet的使用
- iOS开发基础 - UIActionSheet
- IOS学习4 UIActionSheet的使用
- IOS学习之UIActionSheet的使用
- UIActionSheet操作表单-IOS开发
- 介绍UIALertView和UIActionSheet的用法。
- UIActionSheet操作表单-IOS开发
- iOS-UIActionSheet的简单使用和调用系统相簿