Techbirds | Knowledge Hub | Page 43
The normal stroking code of a label doesn’t work in IOS 7.0 but it works successfuly below IOS 7.0 The basic code for enabling stroking is provided below. We need to add a CCLabelTTF and then call the enableStroke function CCLabelTTF *label=CCLabelTTF::create(“Hello”, “Arial.fnt”, 50); label->setPosition(ccp(300,300)); label->enableStroke(ccGREEN, 1.0,true); this->addChild(label); This works fine with IOS below 7.0.