iOS8 Custom Keyboard: Detect which app is using keyboard
问题 I made a custom iOS8 keyboard but I need to detect which app is using the keyboard. f.e. I need to know if its Whatsapp or just normal Messages to handle a different logic. I haven't found any related question on this. And frankly I don't think this is possible, or even allowed by Apple. The closest other Q/A I could find was this. 来源: https://stackoverflow.com/questions/27125299/ios8-custom-keyboard-detect-which-app-is-using-keyboard