
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
CocoaPodsplatform :ios, '7.1'
pod "GPUberView"
Demo & Full Documentation
#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];
platform :ios, '7.1'
pod "GPUberView"
Available here: https://github.com/gpolak/GPUberView
License
GPUberView is available under the MIT license. See the LICENSE file for more info.