您的位置:首页 > 产品设计 > UI/UE

简单的UIButton按钮动画效果iOS源码

2014-12-09 09:41 417 查看
这个是简单的UIButton按钮动画效果案例,源码,简单的UIButton按钮动画,可以自定义button属性。 效果图:

<ignore_js_op>


使用方法:

使用时把ButtonAnimations.h 和.m文件导入新工程即可

ButtonAnimations *btView = [[ButtonAnimations alloc] initWithFrame:CGRectMake(10, 150, self.view.bounds.size.width, 80)];

[self.view addSubview:btView];

[btView setNeedsDisplay:@[@"50",@"100",@"200"]];

[btView sendCar:^(NSString *sendType, NSString *sendPrice) {
NSLog(@"sendType:%@ sendPrice:%@",sendType, sendPrice);
}];

详细说明:http://ios.662p.com/thread-2272-1-1.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: