iOS

仿微信底部弹出

2017-03-22  本文已影响118人  _codebo

一个简单的微信底部弹出,使用简单,方便扩展。

NSArray *title = @[@"_codeBo", @"拍摄" , @"从相册选择"];
CWActionSheet *sheet = [[CWActionSheet alloc] initWithTitles:title clickAction:^(CWActionSheet *sheet, NSIndexPath *indexPath) {
        NSLog(@"点击了%@", title[indexPath.row]);
        self.label.text = title[indexPath.row];
}];
 [sheet show];
弹出GIF.gif
详细实现请移步 GitHub
上一篇 下一篇

猜你喜欢

热点阅读