I have requirement to update application containing viewcontroller from todayextension widget view controller when app is in either in background/foreground state. Lets assume.
- App containing viewcontroller contains list of information. Next press on home button app goes to background state.
- Now open widget and show list of information as shown in app containing viewcontroller in TodayExtensionViewcontroller.
- If you update any information in TodayExtensionViewController same information I want to replicate in App containing viewcontroller when app goes from background to foreground state.