Master-Detail app for iPhone

Master has a TableView with words and a SearchField.
DetailView has info about selected word.

Hitting the Back-Button in the DetailView shows the MasterView and then (after 
what feels like a second) the Keyboard slides up.
This is not what I want.

Before iOS 9.0 the DetailView did (before segueing back to the MasterView):
        [ masterView.searchController.searchBar becomeFirstResponder ]
This had the result that the MasterView did appear with the Keyboard already 
displayed.
Just what I wanted.

But now in iOS 9.0 I get:

18:17:15.478  -[MasterViewController viewWillAppear:] 
18:17:15.666    — UIKeyboardWillShowNotification
— view appears with Keyboard —
18:17:16.330    — UIKeyboardWillHideNotification
— keyboard disappears —
18:17:16.357  -[MasterViewController viewDidAppear:]
18:17:16.431    — UIKeyboardWillShowNotification
— keyboard comes back —

So this way no longer works.

How can I make the  MasterView appear with the Keyboard already displayed in 
iOS 9?

Gerriet.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to