KSXYSwitchView 1.0.1

KSXYSwitchView 1.0.1

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布最新发布2017年9月

YongWeiYun 维护。



  • 作者:
  • yunyongwei

一个酷炫的弹出式,快捷选择菜单

使用简单,一个函数全部搞定

[KSXYSwitchView showInView:self.view images:@[@"person_info.png", @"make_call.png", @"make_audio_call.png", @"make_video_call.png"] atPoint:point buttonClicked:^(NSInteger index) {
        if(index == 0) {
            NSLog(@"Click person button index = %ld", (long)index);
        } 
        else if(index == 1) {
            NSLog(@"Click call button index = %ld", (long)index);
        } 
        else if(index == 2) {
            NSLog(@"Click audio call button index = %ld", (long)index);
        } 
        else if(index == 3) {
            NSLog(@"Click video call button index = %ld", (long)index);
        }
}];