0

An application I am designing will be used to sync data between the iPhone and a database. I am writing the data on the iPhone using 'writeToFile' and similar methods, and syncing it periodically with the database. Is there any way I can make this data appear in the Spotlight search utility on the iPhone?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Andrew
  • 466
  • 2
  • 7
  • 22

1 Answers1

1

No. When you write to a file, that file is written into your apps "sandbox". Only your app and no other part of the device can access the contents of your sandbox.

Andrew
  • 3,874
  • 5
  • 39
  • 67
  • Thanks, I suspected there might be some sort of quarantined storage for app data. I've seen plenty of answers to this question simply stating that Spotlight cannot search within apps, I'm glad there's a more in-depth answer. – Andrew Mar 20 '11 at 17:35