-
Notifications
You must be signed in to change notification settings - Fork 112
Change Boom Buttons Dynamically (Objective C)
Weiping Huang edited this page May 14, 2017
·
2 revisions
Change boom-buttons dynamically.
Swift | Objective-C
The properties of boom-buttons are able to changed from builders. For instance:
[bmb boomButtonAtIndex:0].normalImageName = @"The new image name";
Check the demo for details.
You can get the children views or button-layer of a boom-button by the following codes. Notice that the boom-buttons may not be created by BMB, so the method - (VHBoomButton *)boomButtonAtIndex:(NSUInteger)index
may return nil.
[bmb boomButtonAtIndex:0].imageView
[bmb boomButtonAtIndex:0].buttonLayer
[bmb boomButtonAtIndex:0].label
[bmb boomButtonAtIndex:0].subLabel
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