• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: getting metadata for a file on iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting metadata for a file on iOS


  • Subject: Re: getting metadata for a file on iOS
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 17 May 2012 21:22:56 -0700

On May 17, 2012, at 19:56 , Roland King wrote:

> NSMetaDataQuery on iOS only works for iCloud, this I know, however the File Metadata Search Programming Guide says the following about searching the sandbox on iOS.
>
> " In order to search your application’s sandbox, you will need to traverse the files within the sandbox file system recursively using the NSFileManager class. Once matching file or files is found, you can access that file in the manner that you require. You are also able to use the NSMedatataItem class to retrieve metadata for that particular file."
>
> I cannot however find which method allows me to use the NSMetadataItem class to retrieve metadata for a file and the guide gives no more information. You can get resource values  via NSURL, but that's not quite the same thing. Is there such a method or is the guide just wrong here?

I'm pretty sure it's just wrong. I tried hard to believe the statement, but couldn't find any iOS API  that would do it.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >getting metadata for a file on iOS (From: Roland King <email@hidden>)

  • Prev by Date: getting metadata for a file on iOS
  • Next by Date: ARC apps - loading non-ARC bundles
  • Previous by thread: getting metadata for a file on iOS
  • Next by thread: ARC apps - loading non-ARC bundles
  • Index(es):
    • Date
    • Thread