ios4 - How can I detect when iOS 4 keyboard is on-screen versus Bluetooth? -



ios4 - How can I detect when iOS 4 keyboard is on-screen versus Bluetooth? -

i have code moves uitextview out under on-screen keyboard. problem is, people certainly utilize bluetooth keyboard instead.

how can observe that what's beingness used input?

also, btw: can observe when on-screen keyboard goes away, how approach same intention when it's wireless keyboard?

thanks.

you can observe when bluetooth keyboard connected registering uikeyboardwillshownotification same way did detecting when keyboard hides. if bt keyboard connected, not receive keyboard show notification when text field or text view requesting keyboard becomes first responder.

ios4 keyboard bluetooth

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -