描述:
WSRedPacketView是模仿微信抢红包的功能,论文,动画效果也操作体验和微信的基本一致,开题报告,如果有需要用到类似的功能大家可以下载参考一下。
下载地址:https://github.com/amber01/WSRedPacketView
WSRewardConfig *info = ({ WSRewardConfig *info = [[WSRewardConfig alloc] init]; info.money = 100.0; info.avatarImage = [UIImage imageNamed:@'avatar']; info.content = @'恭喜发财,大吉大利'; info.userName = @'小雨同学'; info; }); [WSRedPacketView showRedPackerWithData:info cancelBlock:^{ NSLog(@'取消领取'); } finishBlock:^(float money) { NSLog(@'领取金额:%f',money); }];