I am trying to insert a youtube video into my iOS application. To do this, I created a UIWebView and tried to download Youtube videos from here
I reviewed all the answers to the above problem. Even then it does not work. I also tried loading very simple HTML
NSString *embedHTML =[NSString stringWithFormat:@"<html><body>Hello World</body></html>"]; [webView loadHTMLString:embedHTML baseURL:nil];
Even then I get a compilation error Parse Issue Expecte ']'
I tried to clear by exiting Xcode and restarting it again. I do not know, I can not use this method. How to use the loadHTMLString method loadHTMLString for my UIWebView .
PS: Please do not post this question as a duplicate. I tried all the solutions in Stackoverflow . Nothing worked
source share