2021年5月4日星期二

Does the generated cloud endpoints iOS function executeQuery() use beginBackgroundTask(withName:expirationHandler:)?

In the iOS generated client library for Cloud Endpoints there is a call to GTLRService.h executeQuery() to execute your query. Does this call use beginBackgroundTask(withName:expirationHandler:) to request extra background time to finish the request as outlined in: Extending Your App's Background Execution Time?

It is unclear if it does or does not. If it does not, what is a good way to implement it while still using the generated iOS library?

https://stackoverflow.com/questions/67394561/does-the-generated-cloud-endpoints-ios-function-executequery-use-beginbackgrou May 05, 2021 at 10:50AM

没有评论:

发表评论