-
Notifications
You must be signed in to change notification settings - Fork 112
Fade Views (Objective C)
Weiping Huang edited this page May 14, 2017
·
2 revisions
Add faded views on BMB.
Swift | Objective-C
Sometimes you may wanna add an image or text to BMB. This can be achieved by:
UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, 40, 40)];
imageView.image = [UIImage imageNamed:[BuilderManager imageName]];
[bmb addFadeView:imageView];
The fade-views added to BMB will perform fade-in and fade-out animations when booming and rebooming. When BMB has a fade-view, you may want to remove the pieces. BMB does not provide any methods to remove pieces, but there is a trick to do so:
bmb.dotRadius = 0;
Check demo for more details.
Home
Chapters
- Basic Usage
- Simple Circle Button
- Text Inside Circle Button
- Text Outside Circle Button
- Ham Button
- Share Style
- Custom Position
- Button Place Alignments
- Different Ways to Boom
- Ease Animations for Buttons
- Different Order for Buttons
- Other Animations Attributes for Buttons
- Click Event and Listener
- Control BMB
- Use BMB in Navigation Bar
- Use BMB in Table View
- Attributes for BMB or Pieces on BMB
- Cache Optimization & Boom Area
- Change Boom Buttons Dynamically
- Blur Background & Tip
- Fade Views
- Structure of BMB
- Version History