Skip to content

Instantly share code, notes, and snippets.

@samilamti
Created October 15, 2012 07:50
Show Gist options
  • Save samilamti/3891276 to your computer and use it in GitHub Desktop.
Save samilamti/3891276 to your computer and use it in GitHub Desktop.
UIAlertView* wrapped in using statements
using (UIAlertViewDelegate del = new UIAlertViewOkCancelDelegate(OpenFile, Cancelled))
using (UIAlertView view = new UIAlertView(title, message, del, "Cancel", new string[] { "OK" }))
{
view.AlertViewStyle = UIAlertViewStyle.SecureTextInput;
view.Show ();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment