I am making an application where audio will play in the background. In the following code, bgTask is undeclared. What kind of object should bgTask be?
- (voi
You need to declare bgTask before you assign:
UIBackgroundTaskIdentifier bgTask = 0;