Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sburlot/browserviewcontroller
An UIWebViewController that mimics Safari
https://github.com/sburlot/browserviewcontroller
Last synced: 2 months ago
JSON representation
An UIWebViewController that mimics Safari
- Host: GitHub
- URL: https://github.com/sburlot/browserviewcontroller
- Owner: sburlot
- Created: 2009-10-29T20:49:26.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2009-11-04T09:41:46.000Z (about 15 years ago)
- Last Synced: 2023-04-13T18:21:31.844Z (over 1 year ago)
- Language: Objective-C
- Homepage: http://blog.coriolis.ch
- Size: 109 KB
- Stars: 27
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
- awesome - browserviewcontroller - An UIWebViewController that mimics Safari (etc)
- awesome - browserviewcontroller - An UIWebViewController that mimics Safari (etc)
README
h1. BrowserViewController
This code allows you to add in-app browsing of web pages. It takes care of handling all the special cases (ie links) I could think of:
* *mailto:* : displays an MFMailComposeViewController and fill it with the mailto url: it handles 'to', 'cc', 'subject' and 'body'
* *Youtube* : urls linking to "YouTube.com" are displayed in the YouTube application.
* *maps.google.com* : urls linking to "maps.google.com" (and other country variations) are displayed in the Map application.
* *iTunes Links* : links to song are opened in the iTunes application.
* *AppStore links* : links to applications are opened in the AppStore application.You can customise the view, ie if you want a navigation tab bar or not.
You can choose to ask for a confirmation before exiting the app to open YouTube, Map, Safari.
The navigation tab bar will add standard web buttons, ie Back, Forward, Stop, Reload and also a button to send the url of the current page via email, or open it in Safari.
h1. Licence
This code is licenced under the Creative Commons Attribution (by) Licence
"http://creativecommons.org/licenses/by/3.0/":http://creativecommons.org/licenses/by/3.0/