public class UITabBarItem extends UIBarItem
Constructor and Description |
---|
UITabBarItem(String title,
UIImage image,
int tag)
Constructs and returns a new UITabBarItem with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
String |
badgeValue()
Returns the text that is displayed in the top-right position of an item
encircled by an red oval border.
|
void |
setBadgeValue(String badgeValue)
Sets the text displayed in the top-right position of an item encircled by
an red oval border.
|
image, imageInsets, isEnabled, setEnabled, setImage, setImageInsets, setTag, setTitle, tag, title
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
public String badgeValue()
public void setBadgeValue(String badgeValue)
badgeValue
- The text displayed in the top-right position of an item
encircled by an red oval border.Copyright © 2020. All rights reserved.