Created
December 14, 2012 03:19
-
-
Save prashantvc/4282440 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs.iRotated += (object dSender, EventArgs de) => { | |
Debug.WriteLine("________________________________________________________"); | |
Debug.WriteLine("The modal view just rotated...."); | |
Debug.WriteLine("My current orientation (UIApplication.SharedApplication.StatusBarOrientation.ToString()) = " + UIApplication.SharedApplication.StatusBarOrientation.ToString()); | |
Debug.WriteLine(string.Format("My screen resolution is: Width = {0} Height = {1}", | |
this.View.Bounds.Width.ToString(), | |
this.View.Bounds.Height.ToString())); | |
var fsSender = (FlipsideViewController) dSender; | |
Debug.WriteLine(string.Format("My screen resolution is: Width = {0} Height = {1}", | |
fsSender.View.Bounds.Width.ToString(), | |
fsSender.View.Bounds.Height.ToString())); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment