这是我在swift 2中的代码.
如何在swift 3中使用相同的东西?
NotificationCenter.default.addObserver(self, selector: "handleInterruption", name: AVAudiosessionInterruptionNotification, object: nil)
提前致谢!
xcode ios swift swift2 swift3
ios ×1
swift ×1
swift2 ×1
swift3 ×1
xcode ×1