On Oct 11, 2016, at 20:37 , Carl Hoefs wrote:
>
> I think I may have encountered similar issues. -viewWillAppear: occurs very
> early in the view instantiation process, too early for certain things to
> execute successfully, and so it's likely that becomeFirstResponder() may not
> work properl
Yeah, thanks to Graham for suggesting using viewDidLoad(). That fixed it.
What's annoying and disturbing is this: It worked before the storyboard was
touched by Xcode 8. No changes, just whatever IB does when you open a file in
it.
Same behavior on 8.4, 9.3, and 10.0.
> On Oct 11, 2016, at 20:
Rick,
I think I may have encountered similar issues. -viewWillAppear: occurs very
early in the view instantiation process, too early for certain things to
execute successfully, and so it's likely that becomeFirstResponder() may not
work properly or reliably from -viewWillAppear:. I solved my is
> On 12 Oct 2016, at 12:29 PM, Rick Mann 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
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.
> On Oct 11, 2016, at 17:58 , Rick Mann wrote:
>
> We have a complex storyboard-based iPad app, b
We have a complex storyboard-based iPad app, but this problem only reared its
head when we upgraded to Xcode 8.
In our app, we display a modal form sheet that consists of a
UINavigationController with a UITableViewController (over a
UICollectionViewController) that contains a bunch of fields fo