项目作者: kouliang

项目描述 :
完美替换 UIMenuController的 解决方案
高级语言: Objective-C
项目地址: git://github.com/kouliang/KLPopMenu.git
创建时间: 2019-04-28T06:13:44Z
项目社区:https://github.com/kouliang/KLPopMenu

开源协议:MIT License

下载


KLPopMenu

完美替换 UIMenuController的 解决方案

image


usage

    1. NSArray *itemList = @[@"全选", @"new", @"复制", @"全部选中", @"删除所有", @"翻译当前文字", @"向右缩进", @"11111", @"2222", @"333333", @"444444"];
    2. KLPopMenu *popMenu = [KLPopMenu new];
    3. [popMenu showItemList:itemList withTargetView:targetView];
    4. [popMenu addNewTagForItems:@[@"new"]];

image