TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Daniel Doubrovkine.
In-app web browser control for iOS apps.
TSMiniWebBrowser offers the following features:
TSMiniWebBrowser supports 3 presentation modes:
pod 'TSMiniWebBrowser@dblock', '~> 1.1'
Create and display the browser with defaults:
TSMiniWebBrowser *webBrowser = [[TSMiniWebBrowser alloc] initWithURL:[NSURL URLWithString:@"http://indiedevstories.com"]];
[self.navigationController pushViewController:webBrowser animated:YES];
Try the TSMiniWebBrowserDemo application. To test the tab bar mode go to the application: didFinishLaunchingWithOptions:
method in AppDelegate.m
and set the BOOL wantTabBarDemo = NO;
value to YES
.
TSMiniWebBrowser *webBrowser = [[TSMiniWebBrowser alloc] initWithURL:[NSURL URLWithString:@"http://indiedevstories.com"]];
webBrowser.showURLStringOnActionSheetTitle = YES;
webBrowser.showPageTitleOnTitleBar = YES;
webBrowser.showActionButton = YES;
webBrowser.showReloadButton = YES;
webBrowser.mode = TSMiniWebBrowserModeNavigation;
webBrowser.barStyle = UIBarStyleBlack;
if (webBrowser.mode == TSMiniWebBrowserModeModal) {
webBrowser.modalDismissButtonTitle = @"Home";
[self presentModalViewController:webBrowser animated:YES];
} else if(webBrowser.mode == TSMiniWebBrowserModeNavigation) {
[self.navigationController pushViewController:webBrowser animated:YES];
}
This is the maintained fork of TSMiniWebBrowser, available via CocoaPods. It contains all the improvements from DZTSMiniWebBrowser. Thanks to Toni Sala and Denis Zamataev for all the hard work. See CHANGELOG for details.
MIT License, see LICENSE for details.