user1955934
user1955934

Reputation: 3495

iOS Periodic Background Polling Rest API

I want to create an iOS app where my app simply polls a public REST API every minute, in background, and give me local push notification if data from REST API matches my condition. Is this something that is possible and allowed by Apple?

Upvotes: 1

Views: 2091

Answers (1)

Jake
Jake

Reputation: 13753

No. You cannot execute in the background once every minute. Please check out Apple's documentation on background execution.

https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html

Upvotes: 1

Related Questions