I contacted Apple with this and they refused to answer my quesiton, however my app was approved using the technique I mentioned above, so I assume that using performFetchWithCompletionHandler in this way is allowed.
Can performFetchWithCompletionHandler be used for non-network related fetches in iOS7
-
30-06-2022 - |
Question
I know that performFetchWithCompletionHandler is intended to be used to fetch data in the background over the network, but could I use it to fetch data that does not require a network connection instead? For example, I want to pull some step count information form CoreMotion's step count query using the M7 motion co-processor. Would that be a legitimate use of this API or could Apple block my app for using the API to fetch non network data?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow