Ios13:performFetchWithCompletionHandler不再被调用
今天我注意到一个奇怪的bug,我的performFetchWithCompletionHandler在我的iOS 13 iPhone中不再被调用(当我实现它时,它在我的旧iOS 11中工作得非常好) 在Delphi中,我是这样注册的:Ios13:performFetchWithCompletionHandler不再被调用,ios,swift,xcode,delphi,ios13,Ios,Swift,Xcode,Delphi,Ios13,今天我注意到一个奇怪的bug,我的performFetchWithCompletionHandler在我的iOS 13 iPhone中不再被调用(当我实现它时,它在我的旧iOS 11中工作得非常好) 在Delphi中,我是这样注册的: class_addMethod(objc_getClass('DelphiAppDelegate'), sel_getUid('application:performFetchWithCompletionHandler:'), @TMyForm.performFe
class_addMethod(objc_getClass('DelphiAppDelegate'), sel_getUid('application:performFetchWithCompletionHandler:'), @TMyForm.performFetchWithCompletionHandler, 'v@:@@');
SharedApplication.setMinimumBackgroundFetchInterval(300);
class procedure TMyForm.performFetchWithCompletionHandler(self: id; _cmd: SEL; application: PUIApplication; completionHandler: id);
begin
//do the stuff
end;
但我等了整整一天,我的performFetchWithCompletionHandler从未被调用:(iOS13中有关performFetchWithCompletionHandler的某些更改?performFetchWithCompletionHandler在iOS13中已被弃用,您可以检查:是的,我知道它已被弃用,但这是否意味着它在iOS13中不再工作?