0 Replies
      Latest reply on Mar 27, 2020 2:44 AM by nicolas.goutaland
      nicolas.goutaland Level 1 Level 1 (0 points)



        I have a question about NSURLContentAccessDateKey / URLResourceKey. contentAccessDateKey usage.


        As far as I understand, this attribute can be used to retrieved last access date to a file on iOS.


        But I wonder if it is my responsability to update this property each time I open the file, or if it is maintened by the system, when accessing file throught FileManager APIs for example.


        As the documentation state, this property was readonly prior iOS 11, so how did it work before ? Does it mean prior iOS 11, iOS did update itself the property, and since iOS 11, we need to maintain it ?




        Thanks for your help