Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I check does my ios8 custom keyboard extension have open access?

In my ios 8 keyboard extension I wanna check did user gave my keyboard open access or not. But I couldn't find any API. Swiftkey and other custom keyboards somehow solve that problem

like image 847
unknown Avatar asked Sep 26 '14 10:09

unknown


1 Answers

I think this is an easier way (no need to create a container):

- (BOOL) isOpenAccessGranted
{
    if ([UIPasteboard generalPasteboard])
        return YES;

    return NO;
}
like image 51
Clément Choquereau Avatar answered Oct 11 '22 14:10

Clément Choquereau