PictureMeAndYou PictureMeAndYou - 9 months ago 47
Swift Question

Today's Extension communicate with Main App

so I am able to share data using

App Groups
but I was wondering if it is possible to update the data from Today's extension.

So in my iOS app I have a set of data that gets data from
and updates the
App group

Now my Today's extension can retrieve the
App group
data only if the iOS app has been opened.

I am trying to figure out a way to call the iOS app from Today's extension to update the data because the iOS has a method that calls Firebase which updates the
App Group

Is this even possible?


You can't communicate directly with your main app as you want. You can basically do two things:

  • Open your main app from your extension
  • Pass data through your shared container