小编Kal*_*uni的帖子

Swift 3中的AVAudiosessionInterruptionNotification

这是我在swift 2中的代码.

如何在swift 3中使用相同的东西?

NotificationCenter.default.addObserver(self, selector: "handleInterruption", name: AVAudiosessionInterruptionNotification, object: nil)
Run Code Online (Sandbox Code Playgroud)

提前致谢!

xcode ios swift swift2 swift3

4
推荐指数
1
解决办法
835
查看次数

标签 统计

ios ×1

swift ×1

swift2 ×1

swift3 ×1

xcode ×1