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

UPDATE 08/23/2017 for iOS 10 compatibility:

func isOpenAccessGranted() -> Bool{
    UIPasteboard.general.string = "CHECK"
    return UIPasteboard.general.hasStrings
}

iOS 8:

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

Please note that the simulator will always tell you that you have Full Access so for this to work properly you need to run it from a device.

Leave a Comment