KYGooeyMenu icon indicating copy to clipboard operation
KYGooeyMenu copied to clipboard

小bug

Open DaiChaoLi opened this issue 9 years ago • 0 comments

gooeyMenu = [[KYGooeyMenu alloc]initWithOrigin:CGPointMake(CGRectGetMidX(self.view.frame)-50, 500) andDiameter:100.0f andDelegate:self themeColor:[UIColor redColor]];
gooeyMenu.menuDelegate = self;
gooeyMenu.radius = 100/4;     //这里把小圆半径设为大圆的1/4
gooeyMenu.extraDistance = 20; //间距设为R+r+20。注:R+r是默认存在的。
gooeyMenu.MenuCount = 4;      //4个子菜单
gooeyMenu.menuImagesArray = [NSMutableArray arrayWithObjects:
    [UIImage imageNamed:@"tabbarItem_discover highlighted"],
    [UIImage imageNamed:@"tabbarItem_group highlighted"],
    [UIImage imageNamed:@"tabbarItem_home highlighted"],
    [UIImage imageNamed:@"tabbarItem_message highlighted"],
    [UIImage imageNamed:@"tabbarItem_user_man_highlighted"], nil];

子菜单是4,但是传入的数组图片是5的话,会报错的

DaiChaoLi avatar Dec 05 '15 17:12 DaiChaoLi