Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DennisdeWit

macrumors 6502a
Original poster
Nov 16, 2016
966
1,043
The Netherlands
Hi,

I am trying to build a radio app. But unfortunately, with the coming of iOS 12, all the background audio will be muted.

Normally I use this code:

Code:
AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.playback)

Since the new Swift, I get the notification that setCategory 'is not available in Swift'. It seems radio apps are dead in iOS 12?

Thanks,
Dennis
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.