Skip to content
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.

Required extensions

CCActivityIndicator

Instance methods

//show progress layer and start animating activity indicator
void show();

//hide progress layer
void hide();

//returns whether the receiver is showing
bool isShowing();

Example

CCProgressLayer * progressLayer = CCProgressLayer::create();
this->addChild(progressLayer);
progressLayer->show();