Re: iOS Hardware Keyboard Detection
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 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 : > > > > 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 > 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 (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/igor%40elland.me > > > > This email sent to i...@elland.me > > ___ 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
Re: iOS Hardware Keyboard Detection
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 : > > 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 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 (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/igor%40elland.me > > This email sent to i...@elland.me ___ 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
Re: iOS Hardware Keyboard Detection
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 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 (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
iOS Hardware Keyboard Detection
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 (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