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