EGYWebViewController 1.2

EGYWebViewController 1.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



  • By
  • Mokhlas Hussein

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.

EGYWebViewController features:

  • iPhone and iPad distinct UIs
  • full landscape orientation support
  • back, forward, stop/refresh and action buttons
  • Actions ( Share Link to [ Facebook, Twitter ] Send Link to [ Mail, CopyToPasteboard] Open Link in [ Safari, Chrome & Crux ] )
  • NavigationBar title set to the currently visible web page

1

ScreenShot

2

ScreenShot

Installation

  • Drag the EGYWebViewController / EGYWebViewController folder into your project.
  • Drag the [ ARChromeActivity , MLCruxActivity & TUSafariActivity] Folders into your project.

Usage

(see sample Xcode project in Demo)

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

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

It can also be presented modally using EGYModalWebViewController:

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

Changing the bars tint color

Only EGYModalWebViewController supports custom tint colors using the barsTintColor property.

Credits

EGYWebViewController is brought to you by Mokhles Hussien "(iMokhles)":http://iMokhles.com