title: Check full access for custom keyboard extension
body: <p>I need to check full access for custom keyboard extension. I found this link.</p>
  
  <p><a href="https://stackoverflow.com/questions/25472388/how-to-check-the-allow-full-access-is-enabled-in-ios-8">How to check the &quot;Allow Full Access&quot; is enabled in iOS 8?</a></p>
  
  <p>It say we can check App group. I have app group called "group.TTT.TGroup". It share access between main app and custom keyboard.</p>
  
  <p>Then, I check like this. Problem is that I always have access to that (always has array or error = null). Is it because I am sharing same data? But, if my app use another app group and extension use other app group, I can't definitely access to that. May I know how to do?</p>
  
  <pre><code>NSFileManager* fileManager = [NSFileManager defaultManager];
  NSString *path = [fileManager containerURLForSecurityApplicationGroupIdentifier:@"group.TTT.TGroup"].path;
  NSError *error;
  NSArray *arr = [fileManager contentsOfDirectoryAtPath:path error:&amp;error];
  
  NSLog(@" arr is %@",arr);
  if (arr == nil || !arr) //can check error also
      accessOn = NO;
  
  else accessOn = YES;
  </code></pre>