Can a custom keyboard extension identify a user of

2019-09-21 06:33发布

Can a custom keyboard app extension detect a specific user’s identity based on settings/credentials/identification mechanism in the companion app or otherwise? By "identifying a specific user", I mean in the context of my own application/service/brand, not personal/phone data on their device.

Or is it always a static keyboard, always unable to determine the user/phone using it?

2条回答
爷、活的狠高调
2楼-- · 2019-09-21 06:41

I think you should be able to. In your companion app, put whatever identifier you want in the NSUserDefaults, and let the keyboard pick that stuff up in its viewDidLoad of its UIInputViewController subclass.

Let me know if that works.

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-09-21 06:59

No; this is prohibited by Apple.

查看更多
登录 后发表回答