Xamarin iOS ObserveOrientationDidChange Landscape or Portrait
<p>I need to detect when the user rotate the device to Landscape orientation. I can detect when the orientation changed with the code below:</p>

<pre><code>UIDevice.CurrentDevice.BeginGeneratingDeviceOrientationNotifications();
this.orientationObserver = UIDevice.Notifications.ObserveOrientationDidChange(MyRotationCallback);

private void MyRotationCallback(object sender, NSNotificationEventArgs e)
{
    // Landscape or Portrait ?
}
</code></pre>

<p>It works, but I can't tell if it was changed to landscape or portrait. How I can I detect this?</p>