Open utterances-bot opened 4 years ago
ProcessInfo.performExpiringActivity(withReason:using:) performExpiringActivity
In ProcessInfo, performExpiringActivity is object method not an class or static method.
//*** open func performExpiringActivity(withReason reason: String, using block: @escaping (Bool) -> Void)
//**It should like this ProcessInfo().performExpiringActivity(withReason:, using: )
We have call performExpiringActivity on class ProcessInfo instead of its object ProcessInfo.performExpiringActivity(withReason:using:)
Good catch, thanks. I’ll update that sample code.
When the user presses the middle button on the device twice in a row, they can kill the applications in the background. When the application is like this, we cannot track it via GPS. How can I solve this problem?
For example; Can I restart the application with local push notification?
What procedure do I need to follow?
I'll be happy if you can help me.
Can we check battery charging state in background in iOS 13 and bellow iOS 13 till user open app, It may take 1 day to 2 day or more If yes how?
Background Execution in iOS • Andy Ibanez
https://www.andyibanez.com/posts/background-execution-in-ios/