# Make URL::bookmark publicly accessible

**URL:** <https://forum.juce.com/t/make-url-bookmark-publicly-accessible/49779>\
**Category:** MacOSX and iOS\
**Created:** [January 21, 2022, 8:49am UTC](https://forum.juce.com/t/make-url-bookmark-publicly-accessible/49779 "2022-01-21T08:49:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luzifer](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/luzifer/32/60_2.png) [@luzifer](https://forum.juce.com/u/luzifer)\
**Post date:** [January 21, 2022, 8:49am UTC](https://forum.juce.com/t/make-url-bookmark-publicly-accessible/49779/1 "2022-01-21T08:49:42Z")

</div>

Please make `URL::bookmark` publicly accessible (for iOS). We need this in order keep file accesses persistent across launches. I.e. we need to be able to access a `URL`’s bookmark in order to store it and restore when needed.  
In case you want to use getters don’t forget to add a setter as well.

This is analogues to @adamwilson’s request of june 2020 here:

> [@iOS and get/setURLBookmark](https://forum.juce.com/t/ios-and-get-seturlbookmark/40221):
>
> I’m working on an iOS app that needs to store and load file locations. It seems that the proper way to do this on iOS is to store the [bookmarkData](https://developer.apple.com/documentation/foundation/nsurl/1408344-bookmarkdatawithcontentsofurl?language=objc) in a file or database for later retrieval. I started down this path, seeing get/setURLBookmark methods in the URL class, but alas they are private… any chance we could have some kind of interface to these without hacking the URL class? Or maybe make them protected? What I’m working towards is converting the underlying NSData to/from String for stora…

---

<div class="post-metadata">

**Author:** ![equinox](https://avatars.discourse-cdn.com/v4/letter/e/47e85d/32.png) [@equinox](https://forum.juce.com/u/equinox)\
**Post date:** [January 13, 2024, 5:16pm UTC](https://forum.juce.com/t/make-url-bookmark-publicly-accessible/49779/2 "2024-01-13T17:16:19Z")

</div>

Any news on this?

---

<div class="post-metadata">

**Author:** ![trickyflemming](https://avatars.discourse-cdn.com/v4/letter/t/9fc29f/32.png) [@trickyflemming](https://forum.juce.com/u/trickyflemming)\
**Post date:** [February 11, 2025, 7:03pm UTC](https://forum.juce.com/t/make-url-bookmark-publicly-accessible/49779/3 "2025-02-11T19:03:25Z")

</div>

Adding a bump to this. It would be extremely useful for our apps.
