Will you also limit this in IMKInputController API?
I can still use these hotkeys in my sandboxed input method.
Email to my Apple ID email address if you want more information. This forum limits the length of my reply.
Post
Replies
Boosts
Views
Activity
Thank you for your idea. I do wonder whether the App SandBox will hinder the app from getting the correct URL, but I will have a try.
There's no results printed in the Xcode output console, indicating that the buttonPressed(_:) is not called at all.
(I dunno why my previous comment disappeared.)
Thanks. Already tried but nothing printed.
I forgot to state: If you are using the method I mentioned above, you might need a dedicate State parameter to help you trigger the redraw of the view. Such scenarios include: loading file contents to the TextEditor, etc. Such State parameter can be anything... i.e. a Bool (and you toggle it).
Hi. Thanks for the script you shared here. Could you please explain how should we fill into the "requestedResourceKeys"? This confuses me a lot since I just checked that there's no requestedResourceKeys in the DocInteraction Obj-C sample code.