Skip to content

Commit

Permalink
updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gpolak committed Oct 2, 2015
1 parent 0eee5fa commit c124403
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ pod "GPUberView"

To use this library you need a valid *Server Token* from Uber. You can get it here: https://developer.uber.com

### Add url schemes

[For iOS 9 compatibility](http://awkwardhare.com/post/121196006730/quick-take-on-ios-9-url-scheme-changes), add the following scheme to your application's `info.plist`:

```
<key>LSApplicationQueriesSchemes</key>
<array>
<string>uber</string>
</array>
```

### Import GPUberView

```objective-c
Expand All @@ -55,7 +66,6 @@ To use this library you need a valid *Server Token* from Uber. You can get it he

Pass in your Uber *server token* for authentication.


```objective-c
GPUberViewController *uber = [[GPUberViewController alloc] initWithServerToken:@"your_server_token"];
```
Expand Down

0 comments on commit c124403

Please sign in to comment.