View on GitHub

GPUberView

Summon Uber from your iOS app with 2 lines of code.

GPUberView

Quick Start

#import <GPUberViewController.h>

// ...

GPUberViewController *uber = [[GPUberViewController alloc] initWithServerToken:@"your_token"];

// optional: supply the pickup and drop-off locations
uber.startLocation = CLLocationCoordinate2DMake(40.7471787,-73.997494);
uber.endLocation = CLLocationCoordinate2DMake(40.712774,-74.006059);

[uber showInViewController:self];

Adding GPUberView to Your Project

CocoaPods

platform :ios, '7.1'
pod "GPUberView"

Demo & Full Documentation

Available here: https://github.com/gpolak/GPUberView

License

GPUberView is available under the MIT license. See the LICENSE file for more info.