iOS - Notify today extension for Core Data changes in the main app
问题 I have a NSManagedObject called Event that is shared between the host app and today extension. (In Target Membership, both the main app and the widget are checked). The host app and widget have the same App Group identifier and both share Data Model (In Target Membership, both the main app and the widget are checked). When I launch(run) the widget in Xcode, it shows all of the app events ( Event ) that are already saved in the host app. However, when I add a new event, it appears in the host