Thanks, that got it going. It's a compromise. Maybe the options will be
expanded in future iOS releases...
-Carl
> On Mar 21, 2017, at 12:39 PM, Saagar Jha wrote:
>
> That should be lot easier; just set yourself as the text field’s delegate and
> override textFieldShouldBeginEditing.
> Saagar
That should be lot easier; just set yourself as the text field’s delegate and
override textFieldShouldBeginEditing.
Saagar Jha
> On Mar 21, 2017, at 12:24, Carl Hoefs wrote:
>
> Alternately, is there a way to configure the alert to defer the launch of the
> keyboard until/unless the user wants
Alternately, is there a way to configure the alert to defer the launch of the
keyboard until/unless the user wants to edit the textfield (by touching it)?
Generally it won't need to be edited, maybe just the first time or so, thus
having the keyboard always coming up would be distracting.
- Car
Thanks for the hint. In the debugger I discovered that what looks to be a
UITextField displayed across the bottom of the alert is actually implemented as
a private object of class UIAlertControllerTextField.
So I can restrict the text to a portion of the textfield, but I can't find a
way to sho
I haven’t tested this, but have you tried calling [self layoutIfNeeded] in the
completion block of [self presentViewController:animated:completion]?
Saagar Jha
> On Mar 20, 2017, at 16:09, Carl Hoefs wrote:
>
> iOS 10.2.1
>
> I'm using UIAlertController -addTextFieldWithConfigurationHandler: