Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小bug #9

Open
DaiChaoLi opened this issue Dec 5, 2015 · 0 comments
Open

小bug #9

DaiChaoLi opened this issue Dec 5, 2015 · 0 comments

Comments

@DaiChaoLi
Copy link

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的话,会报错的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant