On Jan 10, 2020, at 08:41, Gabriel Zachmann via Cocoa-dev
wrote:
>
>
> Follow-up question: is there a way to do that for screensavers?
That’s what happens when you go through NSOpenPanel and the user chooses a
folder. Read that document that 2 of us have suggested.
Steve via iPad
>>
>> So, is .../Containers/.../Data/Pictures linked to ~/Pictures automatically?
> No. The user has to give your app permission to see the contents of
> ~/Pictures.
>
> https://developer.apple.com/library/archive/documentation/Security/Conceptual/AppSandboxDesignGuide/AboutAppSandb
On Jan 10, 2020, at 07:36:03, Gabriel Zachmann via Cocoa-dev
wrote:
>
> So, is .../Containers/.../Data/Pictures linked to ~/Pictures automatically?
Yes. That's under-the-hood stuff that you should mostly ignore. Pretend it
doesn't exist. The OS will do what it needs to do.
> I am searching th
> On Jan 10, 2020, at 6:36 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> Steve, thanks a lot for your response!
>
>>>
>>> In my screensaver, I try to search the Pictures directory in the user's
>>> home.
>>> It is OK - for now - if my app cannot access any .photoslibrary, but I'd
>>> lik
Steve, thanks a lot for your response!
>>
>> In my screensaver, I try to search the Pictures directory in the user's home.
>> It is OK - for now - if my app cannot access any .photoslibrary, but I'd
>> like to pick up
>> any other images in ~/Pictures.
>>
>> I get the path using this line of co