Encoding with nsstring

PrinceIsrael

New Member
i am developing an iOS application with uses \[code\]UIWebView\[/code\] and \[code\]Javascript\[/code\]. i have a \[code\]javascript\[/code\] function like this :\[code\]function(){.... escape(text);.....return text;}\[/code\]and in my UIWebView :\[code\]NSString *myString = [webView stringByEvaluatingJavascript@"function()"];\[/code\]this function return to me a string encoded with the javascript function espace, how i can decode this string with objective C ? thanks for your answers
 
Top