to capture keystrokes for registering global hotkeys i want to use the shortcut recorder. but i can't get it to work. here is what i have done so far:
#import "SRRecorderControl.h"
to my AppDelegate.h
when i build and run, it fails and says images not found. i know that there are images in the shortcut recorder main directory, but i dont know where to put these. and: how do i add the special shortcut recorder textfield to my main window?
You forgot 'Copy Frameworks' stage. Add ShortcutRecorder.framework to 'Copy Frameworks'.
You can find it on build phase of target information.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.