I am trying to build a web site that will offer some picture enhancement services. So far I have authentication working. There's a lot of documentation regarding finding records but as expected there is not much in my App's container. I need to access the user's private data in ICloud Photos. I suspect there's a container name for that but cannot find it anywhere. Is what I want to do possible or is it a closed system?
If it's closed I'll have to put the user through the inconvenience of uploading pictures to my site so we can enhance them. If we can access their photos it'll be a much better experience for them.
Our guess at this time is that there needs to be some permissions granted by the user during signon and we need to specify a different container name in the request uri, but it's only a guess.
We rummaged around Cloudkit Dashboard to see if there is some way to ask for permissions that we missed but so far no joy.
You can tell that we are new to CloudKit . Any help you can provide will be greatly appreciated.
There is no way to access the user's photo library through CloudKit, or via web API.
Your native app would need to request access to the user's photo library on the device, and then you would have access to their photo library where you could get the photos you need and either enhance them on the device, or if that's not how your app works then upload them to your site.