security-scoped-bookmarks Questions

2

Solved

I'm experiencing problems (on Mojave and Catalina) with "reusing" security scope URL bookmark for a folder between app launches in my app. It's simple decompressing application using libarchive f...
Mailbag asked 16/10, 2019 at 13:18

2

I am creating a TodayWidget app extension which displays information about user selected folders outside the application directory. In my main application I am able to use powerbox via NSOpenPanel...
Sledgehammer asked 11/3, 2015 at 22:54

1

Solved

When resolving an NSURL from a security scoped bookmark, if the user has renamed or moved that file or folder, the bookmark will be stale. Apple's document says this regarding staleness: isStale O...
Ingalls asked 30/5, 2014 at 12:28

1

Solved

The docs for -[NSURL startAccessingSecurityScopedResource] state: You must balance every call to the startAccessingSecurityScopedResource method with a corresponding call to the stopAccessingSec...
Gall asked 25/4, 2013 at 21:48
1

© 2022 - 2024 — McMap. All rights reserved.