private void PromptForName(HandlerToUse handlerType)
        {
            UITextField tf = new UITextField(new System.Drawing.RectangleF(12f, 45f, 260f, 25f));

            tf.BackgroundColor        = UIColor.White;
            tf.UserInteractionEnabled = true;
            tf.AutocorrectionType     = UITextAutocorrectionType.No;
            tf.AutocapitalizationType = UITextAutocapitalizationType.None;
            tf.ReturnKeyType          = UIReturnKeyType.Done;
            tf.SecureTextEntry        = false;       // Set this to true if you want a password-style text masking

            UIAlertView myAlertView = new UIAlertView()
            {
                Title   = "Please enter your name",
                Message = "this is hidden"
            };

            myAlertView.AddButton("Cancel");
            myAlertView.AddButton("Ok");
            myAlertView.AddSubview(tf);

            if (handlerType == HandlerToUse.Delegate)
            {
                myAlertView.Delegate = new MyAlertDelegate(this);
            }
            else
            {
                myAlertView.Clicked += HandleMyAlertViewClicked;
            }

            myAlertView.Transform = MonoTouch.CoreGraphics.CGAffineTransform.MakeTranslation(0f, 110f);
            myAlertView.Show();
        }
        private void PromptForName(HandlerToUse handlerType)
        {
            UITextField tf = new UITextField (new System.Drawing.RectangleF (12f, 45f, 260f, 25f));
            tf.BackgroundColor = UIColor.White;
            tf.UserInteractionEnabled = true;
            tf.AutocorrectionType = UITextAutocorrectionType.No;
            tf.AutocapitalizationType = UITextAutocapitalizationType.None;
            tf.ReturnKeyType = UIReturnKeyType.Done;
            tf.SecureTextEntry = false;  // Set this to true if you want a password-style text masking

            UIAlertView myAlertView = new UIAlertView()
            {
                Title = "Please enter your name",
                Message = "this is hidden"
            };

            myAlertView.AddButton("Cancel");
            myAlertView.AddButton("Ok");
            myAlertView.AddSubview(tf);

            if (handlerType == HandlerToUse.Delegate)
            {
                myAlertView.Delegate = new MyAlertDelegate(this);
            }
            else
            {
                myAlertView.Clicked += HandleMyAlertViewClicked;
            }

            myAlertView.Transform = MonoTouch.CoreGraphics.CGAffineTransform.MakeTranslation (0f, 110f);
            myAlertView.Show ();
        }