-
Notifications
You must be signed in to change notification settings - Fork 59
CCProgressLayer
Artavazd Barseghyan edited this page May 6, 2013
·
2 revisions
Use a progress layer to show that a task is in progress. A progress layer is a full-screen layer that contains an activity indicator right in the middle.
//show progress layer and start animating activity indicator
void show();
//hide progress layer
void hide();
//returns whether the receiver is showing
bool isShowing();
CCProgressLayer * progressLayer = CCProgressLayer::create();
this->addChild(progressLayer);
progressLayer->show();