0

I'm loading a remote html page using:

[myWebView loadData:xmlData MIMEType:@"text/html" textEncodingName:@"UTF-8" baseURL:nil];

Everything is showing fine except adsense ad.
But when I tried this line:

[myWebView loadRequest:request];

Adsense is showing fine, but I'd like to use loadData.

How can I fix this please?

Thanks

Houranis
  • 361
  • 2
  • 4
  • 16

0 Answers0