LTBounceSheet
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/ltebean/LTBounceSheet
软件介绍
LTBounceSheet是具有bounce效果的action sheet。
使用方法:
// construct the action sheet self.sheet = [[LTBounceSheet alloc]initWithHeight:250 bgColor:color]; UIButton * option1 = [self produceButtonWithTitle:@"take photo"]; option1.frame=CGRectMake(15, 30, 290, 46); [self.sheet addView:option1]; UIButton * option2 = [self produceButtonWithTitle:@"choose existing photo"]; option2.frame=CGRectMake(15, 90, 290, 46); [self.sheet addView:option2]; UIButton * cancel = [self produceButtonWithTitle:@"cancel"]; cancel.frame=CGRectMake(15, 170, 290, 46); [self.sheet addView:cancel]; //toggle the sheet [self.sheet toggle];
