Skip to content

Commit

Permalink
document new api surface for orientation change
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed May 25, 2017
1 parent 582103f commit 8590f44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/APIRef.DeviceObjectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ Uninstall the app defined in the current [`configuration`](APIRef.Configuration.


### `device.sendUserNotification(params)`

### `device.setOrientation(orientation)`
Takes `"portrait"` or `"landscape"` and rotates the device to the given orientation.
Currently only available in the iOS Simulator.

0 comments on commit 8590f44

Please sign in to comment.