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.
精彩评论