iPhone/iPad Get State of Wireless keyboard
Is there any way in the iPhone SDK (not a jailbroken API, this needs to be AppStore-Compliant), to get the state of a connected wireless keyboard开发者_如何学Python? e.g. which keys are pressed and which aren't? I have searched for this with google, but I am coming up short.
Any help would be greatly appreciated!
Not really. You can tell whether a keyboard is connected or not, but you won't get callbacks for corded shortcuts. There is clearly a way to do this, because Pages supports keyboard shortcuts (Cmd-Z, etc), but it's not in the public SDK.
精彩评论