iOS8 Custom Keyboard: Detect which app is using keyboard

早过忘川 提交于 2019-12-14 02:36:39

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!