Re: iOS Hardware Keyboard Detection
Re: iOS Hardware Keyboard Detection
- Subject: Re: iOS Hardware Keyboard Detection
- From: Luther Baker <email@hidden>
- Date: Thu, 07 Apr 2016 03:13:19 +0000
I hear ya.
Keyboards, keystrokes and text management have always been so opaque on
iOS. I think that might make it easier for devs to get up and running but
if we're to write world class apps to compete with the desktop at all, I
think we're going to need better text handling abstractions.
Just my $0.02. I'm going to have to resort to some brittle trickery to get
what I want for now.
Thanks,
Luther
On Wed, Apr 6, 2016 at 9:21 AM Igor Ranieri Elland <email@hidden> wrote:
> I’ve been filing radars and complaining about this for almost 3 years now
> (since iOS7). So far the only way to detect if a hardware keyboard is
> present is through private APIs (and those only if a text view on text
> field is currently the first responder).
>
> If anyone has a good solution, I’d be happy to hear it.
>
> Best,
> Igor
>
>
> > Am 06.04.2016 um 16:06 schrieb Luther Baker <email@hidden>:
> >
> > If not there already, it seems like this type of functionality needs to
> be
> > on the critical path ... or someone's radar?
> >
> > How does one take advantage of the screen if there is no authoritative
> way
> > to determine if the keyboard is covering half of it? Especially since the
> > pro's case now comes with a built-in hardware keyboard.
> >
> > I'd be curious if the HIG speaks to this.
> >
> > Maybe it's just a 9.3 bug in the keyboard notifications ....
> > On Tue, Apr 5, 2016 at 8:04 PM Luther Baker <email@hidden>
> wrote:
> >
> >> I'm building an app for the iPad 2 and iPad Pro and need to present a
> >> modal differently, depending on whether or not there is a hardware
> keyboard
> >> attached.
> >>
> >> The keyboard notifications keep giving me the rect for the screen
> >> keyboard, whether or not it appears.
> >>
> >> Thanks,
> >> Luther
> >>
> > _______________________________________________
> >
> > 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