...
After adding the “Background Modes“ capability enable the “Background fetch“ and “Background processing“ modes.
...
Next, in the Info.plist
, add the following task identifier to the Info.plist com.refinery89.background
under the BGTaskSchedulerPermittedIdentifiers
key, so it looks like this
Code Block | ||
---|---|---|
| ||
<dict>
...
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>com.refinery89.background</string>
</array>
...
</dict> |