Home

Awesome

EGYWebViewController

In-App Browser for iOS Apps Support UIActivity ;)

Important note if your project doesn't use ARC: you must add the -fobjc-arc compiler flag to EGYWebViewController.m and EGYModalWebViewController.m in Target Settings > Build Phases > Compile Sources.

CocoaPods

EGYWebViewController features:

1

EGYWebViewController ScreenShot

2

EGYWebViewController

Installation

Usage

(see sample Xcode project in Demo)

Just like any UIViewController, EGYWebViewController can be pushed into a UINavigationController stack:

<pre> EGYWebViewController *webViewController = [[EGYWebViewController alloc] initWithAddress:@"http://yahoo.com"]; [self.navigationController pushViewController:webViewController animated:YES]; </pre>

It can also be presented modally using EGYModalWebViewController:

<pre> EGYModalWebViewController *webViewController = [[EGYModalWebViewController alloc] initWithAddress:@"http://yahoo.com"]; [self presentViewController:webViewController animated:YES completion:NULL]; </pre>

Changing the bars tint color

<pre> @property (nonatomic, strong) UIColor *barsTintColor; @property (nonatomic, strong) UIColor *barItemsTintColor; </pre>

Only EGYModelWebViewController supports custom tint colors using the barsTintColor property and barItemsTintColor property.

Credits

EGYWebViewController is brought to you by Mokhles Hussien <a href="http://www.iMokhles.com/">@iMokhles</a>