Re: Xcode 8 causes scroll issue when displaying keyboard
Re: Xcode 8 causes scroll issue when displaying keyboard
- Subject: Re: Xcode 8 causes scroll issue when displaying keyboard
- From: Graham Cox <email@hidden>
- Date: Wed, 12 Oct 2016 13:09:24 +1100
> On 12 Oct 2016, at 12:29 PM, Rick Mann <email@hidden> wrote:
>
> Ah, it happens because we call becomeFirstResponder() on the first text field while in viewWillAppear(). Dispatching that on the main queue asynchronously fixes the problem, but ugh it's so hacky.
What if you called it in -viewDidAppear instead?
Is there no ‘initialFirstResponder’ connection there? I’m not familiar enough with iOS, but that’s the way Mac does it.
—Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden