Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/JJGWebView
UIWebView class and example implementation for iOS Applications
https://github.com/geerlingguy/JJGWebView
app iphone library objective-c uiwebview
Last synced: 3 days ago
JSON representation
UIWebView class and example implementation for iOS Applications
- Host: GitHub
- URL: https://github.com/geerlingguy/JJGWebView
- Owner: geerlingguy
- License: other
- Created: 2011-03-10T22:57:59.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-09-01T18:33:31.000Z (about 12 years ago)
- Last Synced: 2024-10-27T17:57:43.673Z (12 days ago)
- Topics: app, iphone, library, objective-c, uiwebview
- Language: Objective-C
- Homepage: http://www.midwesternmac.com/jjgwebview
- Size: 651 KB
- Stars: 35
- Watchers: 5
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - JJGWebView - UIWebView class and example implementation for iOS Applications (uiwebview)
README
# JJGWebView
![JJGWebView Example on iPhone](https://github.com/geerlingguy/JJGWebView/raw/master/jjgwebview-example-resized.png)
This is an iPhone, iPod Touch, and iPad UIWebView implementation for reuse in
iOS Apps, highlighting methods and design for a usable and intuitive in-app
browser.## Usage
Look inside `JJGWebViewViewController.m` for implementation details. Basically,
if you're using a Table View inside a Navigation Controller, you can just
pop a JJGWebView on your navigation stack, and the class will take care of the
rest.// Import JJGWebView.h (at the top of your class).
#import "JJGWebView.h"// Open a link in JJGWebView.
JJGWebView *webViewToPush = [[JJGWebView alloc] initWithNibName:@"JJGWebView" bundle:nil];
webViewToPush.title = @"Title Here";
webViewToPush.webViewURL = [NSURL URLWithString:@"http://www.example.com/"];
[self.navigationController pushViewController:jjgWebView animated:YES];You would normally do this inside a `didSelectRowAtIndexPath:` (in table view)
or `calloutAccessoryTapped:` (in map view) method.## Issues
Please file bug reports, feature requests, and patches on GitHub:
https://github.com/geerlingguy/JJGWebView/issues## More Information
More information: http://www.midwesternmac.com/jjgwebview