-
Notifications
You must be signed in to change notification settings - Fork 112
Use BMB in Navigation Bar (Swift)
Weiping Huang edited this page May 13, 2017
·
2 revisions
How to put BMB in navigation bar?
Swift | Objective-C
BMB is easy to use in navigation bar to act as a menu button. Check the demo for more details.
- Create a BMB
let bmb: BoomMenuButton = BoomMenuButton.init(frame: CGRect.init(x: 0, y: 0, width: 44, height: 44)) ... bmb.hasBackground = false // remove the background effect of BMB when used in navigation bar ...
- Put it in navigation bar:
self.navigationItem.rightBarButtonItems = [nagativeSpacer, UIBarButtonItem.init(customView: bmb)]
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