修复bug
This commit is contained in:
parent
6a6a19b4a8
commit
b3ff8fb010
@ -169,9 +169,9 @@ class SPPlayer: NSObject {
|
||||
|
||||
func start() {
|
||||
self.isPlaying = true
|
||||
if self.interruptionType != .began {
|
||||
player.play()
|
||||
}
|
||||
// if self.interruptionType != .began {
|
||||
// }
|
||||
player.play()
|
||||
|
||||
UIApplication.shared.isIdleTimerDisabled = true
|
||||
self.addIdleTimerDisabledObserver()
|
||||
|
Loading…
x
Reference in New Issue
Block a user