We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey, I really like your project!
I experienced a bug when trying to add the demo code to my project here (the commented part):
LGPlusButtonsView *buttonTwo; - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; buttonTwo = [LGPlusButtonsView plusButtonsViewWithNumberOfButtons:4 firstButtonIsPlusButton:YES showAfterInit:YES actionHandler:^(LGPlusButtonsView *plusButtonView, NSString *title, NSString *description, NSUInteger index) { NSLog(@"actionHandler | title: %@, description: %@, index: %lu", title, description, (long unsigned)index); //if (index == 0) //[buttonTwo hideAnimated:YES completionHandler:nil]; }];
If i uncomment the code then the plus button shows up on the bottom right but disappears once you click it.
Change the code to something like this, to add less confusion:
LGPlusButtonsView *buttonTwo; - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; buttonTwo = [LGPlusButtonsView plusButtonsViewWithNumberOfButtons:4 firstButtonIsPlusButton:YES showAfterInit:YES actionHandler:^(LGPlusButtonsView *plusButtonView, NSString *title, NSString *description, NSUInteger index) { //This will log the button click for the Floating Button //NSLog(@"actionHandler | title: %@, description: %@, index: %lu", title, description, (long unsigned)index); if (index == 0){ //[buttonTwo hideAnimated:YES completionHandler:nil]; }else if (index == 1){ }else if (index == 2){ }else if (index == 3){ }else if (index == 4){ }else if (index == 5){ }else if (index == 6){ } }];
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey, I really like your project!
I experienced a bug when trying to add the demo code to my project here (the commented part):
If i uncomment the code then the plus button shows up on the bottom right but disappears once you click it.
Change the code to something like this, to add less confusion:
The text was updated successfully, but these errors were encountered: