> On Apr 22, 2015, at 16:59 , Kyle Sluder wrote:
>
> On Wed, Apr 22, 2015, at 06:03 PM, Jens Alfke wrote:
>>
>> Kyle, you may have forgotten that -textFieldAtIndex: is a method
>> specifically declared in UIAlertView. It’s not some general-purpose
>> method inherited from UIView. The documentat
On Wed, Apr 22, 2015, at 06:03 PM, Jens Alfke wrote:
>
> Kyle, you may have forgotten that -textFieldAtIndex: is a method
> specifically declared in UIAlertView. It’s not some general-purpose
> method inherited from UIView. The documentation (see below) even
> helpfully tells you which field is th
> On Apr 22, 2015, at 1:34 PM, Kyle Sluder wrote:
>
> Accessing the subviews of a view you do not own is by definition
> "messing with the internals".
> ...
> Just because a method exists doesn't mean that it is OK for arbitrary
> clients to access it.
Kyle, you may have forgotten that -textFie
On Wed, Apr 22, 2015, at 03:21 PM, Rick Mann wrote:
> I don't think this qualifies as "messing with the internals."
Accessing the subviews of a view you do not own is by definition
"messing with the internals".
> Apple
> provides those methods.
Just because a method exists doesn't mean that it
- (void)didPresentAlertView:(UIAlertView*)alertView
{
if (alertView.alertViewStyle == UIAlertViewStylePlainTextInput){
[[alertView textFieldAtIndex:0] selectAll:nil];
}
}
On Wed, Apr 22, 2015 at 1:21 PM, Rick Mann wrote:
> I don't think this qualifies as "messing with the internal
I don't think this qualifies as "messing with the internals." Apple provides
those methods. I'm not adding or removing views, or even moving them. All I
want to do is change focus. There are several posts on this approach that
report success. I'm not seeing it.
Provide me with a solution, or te
On Wed, Apr 22, 2015, at 03:16 PM, Rick Mann wrote:
> Stop. Making. Me. Abandon. Older. Users.
Nobody is making you abandon older users.
Use UIAlertView when running on older platforms.
Use UIAlertController when running on newer platforms, or continue to
use the UIAlertView compatibility suppor
Stop. Making. Me. Abandon. Older. Users.
> On Apr 22, 2015, at 12:18 , Kyle Sluder wrote:
>
> On Wed, Apr 22, 2015, at 01:53 PM, Rick Mann wrote:
>> In my UIAlertView -didPresentAlertView: delegate call, I'm trying to
>> change focus to the password field with
>>
>>UITextField* tf = [inView
On Wed, Apr 22, 2015, at 01:53 PM, Rick Mann wrote:
> In my UIAlertView -didPresentAlertView: delegate call, I'm trying to
> change focus to the password field with
>
> UITextField* tf = [inView textFieldAtIndex: 1];
> [tf becomeFirstResponder];
>
> But it's being ignored.
How many times