KNCustomBottomMenuItem
INFO
This English reference is based on Directions SDK 1.12.12. For the latest version, see the Korean reference.
- Inherits from: UIView
- Declared in: KNMenuView.h
Sets the details of a custom menu to be added to the driving screen, such as its icon, name, and button style.
Constructor
initWithId:name:icon:nightIcon:style:toggleOn
Initializes KNCustomBottomMenuItem.
objc
- (id) initWithId: (int) aId
name: (NSString *_Nullable) aName
icon: (UIImage * _Nullable) aIcon
nightIcon: (UIImage * _Nullable) aNightIcon
style: (KNCustomMenuStyle) aStyle
toggleOn: (BOOL) aToggleOn;Parameters
| Name | Description |
|---|---|
aId | Custom button ID(default: -1) |
aName | Name to display on the button |
aIcon | Day icon |
aNightIcon | Night icon |
aStyle | Button style(default: MENU_BUTTON_TOUCH) |
aToggleOn | State value when the button style is toggle(default: NO) |