适用cocostudio可视化操作创建的UIlabel可以正常换行,但是使用代码创建的并且也是中文不能正确换行。有解决方案么?
UILabel *pLabel = UILabel::create(); pLabel->setText(pDic->valueForKey("descript")->getCString()); pLabel->setContentSize(CCSizeMake(220,24)); pLabel->setTextAreaSize(CCSizeMake(220,0)); ```