Cannot find 'BGTaskScheduler' in scope

Viewed 1163

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

1 Answers

You need to import this

import BackgroundTasks
Related