-
Notifications
You must be signed in to change notification settings - Fork 421
CATabBarItem
9miao edited this page Sep 19, 2014
·
2 revisions
Every viewController has a tabBarItem that is used to identify current veiwController in tabBar.
CABarItem
Access modifier |
Attribute name |
Description |
private |
SelectedImage |
image in selected condition |
Access modifier |
Method name |
Description |
public |
create |
factory method that is used to instantiate a CATabBarItem |
SelectedImage
Type: CAImage*
Descripiton: image when tabBarItem is selected, get/set{}.
static CATabBarItem create(std: : string title, CAImage image,CAImage* selectedImage=NULL)**
Return value: static CATabBarItem*
Parameter:
Type |
Parameter name |
Description |
string |
title |
tabBarItem’s displayed title
|
CAImage* |
image |
tabBarItem’s displayed image
|
CAImage* |
selectedImage |
image when tabBarItem is selected, optional parameters. |