Path to cookies from sharedCookieStorageForGroupContainerIdentifier

Trying to understand, how is working sharedCookieStorageForGroupContainerIdentifier on iOS. According to Apple docs: "You can use this method to create a persistent cookie storage available to all apps and extensions with access to the same app group."
Question is - where exactly such cookie store is located, what path it is?
Do I understand correctly, that path could be found using [NSFileManager containerURLForSecurityApplicationGroupIdentifier:] method?

where exactly such cookie store is located, what path it is?

Why do you want to know that? The on-disk location and format of the cookie store is not considered API, so there’s nothing you can’t do with that path.

Here’s how you’re expected to use this API:
  1. Add a shared app group to each of your programs (apps and appexes).

  2. In each program, call +sharedCookieStorageForGroupContainerIdentifier:, passing in the app group identifier.

  3. This returns an NSHTTPCookieStorage object. Use that to set the HTTPCookieStorage property of that you use to create your NSURLSession.

  4. Use the NSURLSession as you would normally. At this point all the programs will be sharing the same cookie store.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Path to cookies from sharedCookieStorageForGroupContainerIdentifier
 
 
Q