Re: iOS Hardware Keyboard Detection
Re: iOS Hardware Keyboard Detection
- Subject: Re: iOS Hardware Keyboard Detection
- From: Igor Ranieri Elland <email@hidden>
- Date: Wed, 06 Apr 2016 16:21:06 +0200
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