Monotouch: Getting current and previous device orientation

Subscribers:
5,420
Published on ● Video Link: https://www.youtube.com/watch?v=FQtxgGTTZ5Y



Duration: 2:21
330 views
0


Getting current and previous device orientation on the DidRotate event. Also I talk about identifying device orientation by seeing where the home button is on the device.

An alternative to this is getting the status bar orientation. But that is inelegant.







Tags:
monotouch
device
orientation
xcode
uidevice
rotate
rotation
programming
tutorial
csharp
C#