I am new programmer to objective C. I added some html file to Objective C. In this html file contains simple javascript function. I need to call that Function through thw ob
Try this:
NSString *jsCallBack = [NSString stringWithFormat:@"setPhoto('%@')",profileImgPath]; [webView stringByEvaluatingJavaScriptFromString:jsCallBack];