https://github.com/creativelive/facebookwebbrowserdebugapp
Debug iOS Facebook Internal Browser
https://github.com/creativelive/facebookwebbrowserdebugapp
Last synced: 4 months ago
JSON representation
Debug iOS Facebook Internal Browser
- Host: GitHub
- URL: https://github.com/creativelive/facebookwebbrowserdebugapp
- Owner: creativelive
- Created: 2016-04-15T18:54:53.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-15T20:11:08.000Z (about 10 years ago)
- Last Synced: 2025-07-21T08:10:57.779Z (11 months ago)
- Language: Swift
- Size: 7.81 KB
- Stars: 15
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://github.com/creativelive/FacebookWebbrowserDebugApp/blob/master/FacebookWebbrowserDebugApp/ViewController.swift#L22).
- Build App
- Follow the [Safari Debug Tutorial](http://appletoolbox.com/2014/05/use-web-inspector-debug-mobile-safari/) to enable debugging.
Happy Bug Squashing!