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

后端 未结 15 1271
醉酒成梦
醉酒成梦 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:06

    just use

        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0),     
    ^{
        AudioServicesPlaySystemSound(1104);
        });
    

    the tirck is ,when the full access is enabled ,the sound will play ,if not ,because it's call is in the background thread will no block the main thread

提交回复
热议问题