草庐IT

PerformFetchWithCompletionHandler

全部标签

ios - performFetchWithCompletionHandler 永远不会被解雇

1)我的plist配置提供backgroundmode:UIBackgroundModesfetch2)在didFinishLaunchingWithOptions我有:[[UIApplicationsharedApplication]setMinimumBackgroundFetchInterval:1.0];3)我在委托(delegate)中声明了协议(protocol)UIApplicationDelegate。4)我实现了以下方法,但它从未被触发。(仅当我使用“XCode->Debug->SimulateBackgroundFetch”模拟提取时才有效。)-(void)appl
12