• 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
Re: Custom keyboard with search bar not behaving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom keyboard with search bar not behaving


  • Subject: Re: Custom keyboard with search bar not behaving
  • From: Saagar Jha <email@hidden>
  • Date: Mon, 20 Aug 2018 11:35:18 -0700

What does [UIApplication.sharedApplication.keyWindow
performSelector:@selector(firstResponder)] give you?

Saagar Jha

> On Aug 20, 2018, at 06:16, Steve Mills <email@hidden> wrote:
>
> I guess I'll try this list as well.
>
> I’m implementing a custom keyboard for iOS. It contains a UISearchBar the
> user can use to filter the “keys” they can use to type. When the search
> button is used, I call [searchBar resignFirstResponder] to have the search
> bar give up its capture of input. The insertion point has been and still will
> be blinking in the document view, yet calling [self.textDocumentProxy
> insertText:s] no longer inserts text into the document.
>
> I thought this was working earlier in the project development. Any ideas? I
> see a similar feature working in Google's Gboard. Maybe I need to use a fake
> search bar so the text input chain never gets disturbed?
>
> BTW, I've only tested from the Simulator available on my work Mac, which is
> still maddeningly stuck on macOS 10.10.
>
> --
> Steve Mills
> Drummer, Mac geek
>
> _______________________________________________
>
> 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

_______________________________________________

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: Custom keyboard with search bar not behaving
      • From: Steve Mills <email@hidden>
References: 
 >Custom keyboard with search bar not behaving (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Carbon -> Cocoa
  • Next by Date: Re: Custom keyboard with search bar not behaving
  • Previous by thread: Custom keyboard with search bar not behaving
  • Next by thread: Re: Custom keyboard with search bar not behaving
  • Index(es):
    • Date
    • Thread