iOS App Extensions - raywenderlich.com · Introduction to CloudKit Part 7: Sub... Nov 10, 2014, 12:00 PM Calendar Tomorrow You have no events scheduled for tomorrow. raywenderlich.com
Post on 24-Jun-2020
6 Views
Preview:
Transcript
iOS App Extensions
Today Extensions: Updating
NSURLSession
// 2: Work in the background NSURLSessionConfiguration.backgroundSessionConfigurationWithIdentifier(config)
// 3: Set the shared container identifier config.sharedContainerIdentifier = “group.com.myGroupID”
// 1: Set separate configuration identifiers config.sharedContainerIdentifier = “com.myApp” config.sharedContainerIdentifier = “com.myAppExtension”
Background Refresh
func widgetPerformUpdateWithCompletionHandler( completionHandler: ((NCUpdateResult) -> Void)!) {
}
case NewData case NoData case Failed
Demo
RWFetcher Widget update Delegate
Challenge Time!
top related