Reputation: 111
Anyone knows how to fix this error in ios swift Cannot find 'BGTaskScheduler' in scope i am trying to run background task where i am using BGTaskScheduler
Upvotes: 11
Views: 3151
Reputation: 18914
You need to import this
import BackgroundTasks
Upvotes: 34