• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS Keyboard Woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iOS Keyboard Woes


  • Subject: iOS Keyboard Woes
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Thu, 08 Oct 2015 15:59:17 +0700

A simple app with iOS 9.0.2:
MasterView has TableView + SearchBar
DetailView has other stuff.

Two things I am trying to do (and failing miserably)

Scenario A:
Back from DetailView to MasterView with keyboard already in place.
What I get (and don’t like) is: MasterView slides in from left (but without keyboard), then the keyboard slides in from below.

The obvious solution: activate the keyboard in viewWillAppear. This worked fine in 8.0, but 9.0 has a new behaviour:
MasterView slides in from left with keyboard (good!), keyboard disappears (sigh), keyboard slides in from below.

Scenario B:
Back from DetailView to MasterView without keyboard (but with SearchBar active).
I tried to do [ self.searchController.searchBar resignFirstResponder] in viewDidAppear, but this seems to have no effect.


Gerriet.


_______________________________________________

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


  • Follow-Ups:
    • Re: iOS Keyboard Woes
      • From: "Glenn L. Austin" <email@hidden>
  • Prev by Date: Re: NSTextField subclass needs cell subclass as well - how?
  • Next by Date: Re: [SOLVED] How to get a condensed San Francisco UIFont?
  • Previous by thread: Re: NSSplitViewController : not in Interface Builder library?
  • Next by thread: Re: iOS Keyboard Woes
  • Index(es):
    • Date
    • Thread