A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram)
CocoaPods
DLPageMenu is available through CocoaPods. !! Swift only !!
To install add the following line to your Podfile:
pod 'DLPageMenu'
Option property.
Property | Type | Definition |
---|---|---|
frame | CGRect | Size and position of the page menu |
menuItemHeight | CGFloat | Height of the menu |
menuItemWidth | CGFloat | Width of the menu |
menuItemBackgroundColorNormal | UIColor | Background color of the menu (Unselected) |
menuItemBackgroundColorSelected | UIColor | Background color of the menu (Selected) |
menuTitleMargin | CGFloat | Margin between menu items |
menuTitleFont | UIFont | Menu Title font |
menuTitleColorNormal | UIColor | Menu Title color (Unselected) |
menuTitleColorSelected | UIColor | Menu Title color (Selected) |
menuIndicatorHeight | CGFloat | Height of the menu indicator |
menuIndicatorColor | UIColor | Color of the menu indicator |