Skip to content Skip to sidebar Skip to footer

Uiwebview Not Loading Javascript Properly - Embedded Facebook Post

Facebook has this new feature where they allow users to embed public posts into a web page. I want to try to use this in an iPhone application inside a UIWebView. Escaping the code

Solution 1:

I solved this by using GCDWerbServer: https://github.com/swisspol/GCDWebServer

So, I used server to load local css files, js and images, that enables you to set http link for web view base url. After doing this, Facebook posts, videos started to come up just like in regular browser.

Post a Comment for "Uiwebview Not Loading Javascript Properly - Embedded Facebook Post"