How to check "Allow Full Access" is granted since iOS 8.3 *from the container app*
Here's my currently working / deployed implementation:
- (void)viewDidAppear:(BOOL)animated { NSLog(@"keyboard has full access? %@", ([self validateKeyboardHasFullAccess] ? @"YES" : @"NO"));}- (BOOL)validateKeyboardHasFullAccess { return !![UIPasteboard generalPasteboard];}
On iOS 8.4 the UIPasteboard.generalPasteboard()
is nil
if Full Access is not allowed. Try removing keyboard and container app + clean and build
app, before testing again. Should work fine.