Skip to content

Instantly share code, notes, and snippets.

@prashantvc
Created December 14, 2012 03:19
Show Gist options
  • Save prashantvc/4282440 to your computer and use it in GitHub Desktop.
Save prashantvc/4282440 to your computer and use it in GitHub Desktop.
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