0

Is it possible for extensions access the containing-app's container directory?

For iOS5-based app, i don't want to move all my old data into shared-contatiner, i wish that main-app can remain the same, and the extension just read & write the old data directly, that will be perfect!~

Andrew
  • 15,357
  • 6
  • 66
  • 101
ivanC
  • 43
  • 7
  • possible duplicate of [Communicating and persisting data between apps with App Groups](http://stackoverflow.com/questions/24015506/communicating-and-persisting-data-between-apps-with-app-groups) – Andrew Jun 25 '14 at 03:36
  • http://stackoverflow.com/a/24028248/2446155 – Andrew Jun 25 '14 at 03:36

1 Answers1

0

Your widget may never access the containing app's data directly, only if the containing app puts that data into a shared container using app groups. The documentation (including the WWDC videos) is pretty clear about this.

There's a high chance that your iOS-5-based app needs major changes anyway to work nicely on iOS 8.

hagi
  • 11,503
  • 3
  • 35
  • 48
  • Thanks, it sounds a huge project to move the data considering a lot of user and some update action. – ivanC Jun 25 '14 at 02:02