Re: Background fetch is never called

2017-12-14 Thread Viacheslav Karamov
Yes 13.12.17 16:09, Steve Christensen wrote: Are you calling -[UIApplication setMinimumBackgroundFetchInterval:] in -application:didFinishLaunchingWithOptions:? According to the documentation: Specifies the minimum amount of time that must elapse between background fetch operations. This

Re: Background fetch is never called

2017-12-13 Thread Steve Christensen
Are you calling -[UIApplication setMinimumBackgroundFetchInterval:] in -application:didFinishLaunchingWithOptions:? According to the documentation: > Specifies the minimum amount of time that must elapse between background > fetch operations. > > This property has no effect for apps that do

Re: Background fetch is never called

2017-12-13 Thread Viacheslav Karamov
Yes, I confirm that 12.12.17 23:16, Steve Christensen wrote: Did you confirm that there is a UIBackgroundModes key in your app's Info.plist? UIBackgroundModes fetch On Dec 12, 2017, at 6:23 AM, Viacheslav Karamov wrote: I have configured Background Fetch

Re: Background fetch is never called

2017-12-12 Thread Steve Christensen
Did you confirm that there is a UIBackgroundModes key in your app's Info.plist? UIBackgroundModes fetch > On Dec 12, 2017, at 6:23 AM, Viacheslav Karamov wrote: > > I have configured Background Fetch at the "Capabilities" tab in my Project's > settings. Then

Background fetch is never called

2017-12-12 Thread Viacheslav Karamov
I have configured Background Fetch at the "Capabilities" tab in my Project's settings. Then added to the App delegate: -(void)application:(UIApplication *)application performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {     NSLog(@"### Received