How to check the “Allow Full Access” is enabled in iOS 8?

后端 未结 15 1244
醉酒成梦
醉酒成梦 2020-12-02 07:53

In iOS 8, when develop a custom keyboard and set RequestsOpenAccess property to YES in info.plist, there is a toggle button at Settings-> Add New Keyboard named \"Allow Full

15条回答
  •  暖寄归人
    2020-12-02 08:09

    Today, for iOS 9.2, you can check opened access by:

    func isOpenAccessGranted() -> Bool {
        return UIPasteboard(name: "checkOpenedAccess", create: true) != nil
    }
    

提交回复
热议问题