Skip to content

creativelive/FacebookWebbrowserDebugApp

Repository files navigation

Facebook iOS Internal Web Browser Debug App

##Why you want to read this:

You are seeing errors in the built-in web browser from the iOS Facebook app.

##Our motivation:

We were unable to get the Safari debugging window into this embedded web browser. This made our bug difficult to investigate.

##The Solution:

The solution was to recreate the Facebook built-in web environment with debugging tools.

This project from Paul Irish works, https://github.com/paulirish/iOS-WebView-App, but didn't render our site responsive.

So we made a simple Swift app that uses WebKit to render our site. This allows http://appletoolbox.com/2014/05/use-web-inspector-debug-mobile-safari/

##Using This App:

  • Install XCode
  • Clone Repo
  • Import Project from XCode
  • Change the URL to what you want here.
  • Build App
  • Follow the Safari Debug Tutorial to enable debugging.

Happy Bug Squashing!

About

Debug iOS Facebook Internal Browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages