How To Show An Alert Dialog Using Monotouch for iPhone



TODO:

Have you ever just wanted to show an alert dialog to the user, for instance if Location Services are not enabled?

 

SOLUTION:

 

using (UIAlertView alert = new UIAlertView ("Oops", "Location Service must be enabled", null, "OK", null))
{
	alert.Show ();
}

 

 

NOTES:

There are no notes on this topic.



Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading