开发者

class NSCFData autoreleased with no pool in place

I have converted my NSString into string, and returning the same but the above error mentioned in the title is printing on console. Please suggest so that i could get away fro开发者_JAVA技巧m this issue.

my code is below:

string stringFromNSString(NSString *inNSString)

{

return [inNSString UTF8String];

}


This message is likely to indicate that you're running some function on secondary thread (e.g. using performSelectorInBackground:) without creating NSAutoreleasePool instance for that thread.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜