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?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top