In my sandboxed app, if a bookmarked network source is unavailable, is resolving the source/root security-scoped bookmark the recommended way to way to trigger a remount of the network volume?
Thanks!
In my sandboxed app, if a bookmarked network source is unavailable, is resolving the source/root security-scoped bookmark the recommended way to trigger a remount of the network volume?
Yes, that's generally the best option. It's obviously not guaranteed to work, given all of the possible failure cases, but it covers the largest number of edge cases with the least amount of work.
The other alternative would be to use the NetFS framework to directly mount the volume; however, I think that really only makes sense if/when your app is designed around that approach.
Are you having problems with bookmark mount resolution?
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware