質問編集履歴

1

誤字の訂正

2018/11/21 07:17

投稿

affluenceyou
affluenceyou

スコア44

test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  ```swift
18
18
 
19
- self.currentPlayerItem?.addObserver(self, forKeyPath: "status", options: .new, context: nil)
19
+ self.playerItem?.addObserver(self, forKeyPath: "status", options: .new, context: nil)
20
20
 
21
21
  ProgressView.startSeekingLoading(view: self)
22
22
 
@@ -60,7 +60,7 @@
60
60
 
61
61
  stopLoading()
62
62
 
63
- currentPlayerItem?.removeObserver(self, forKeyPath: "status")
63
+ playerItem?.removeObserver(self, forKeyPath: "status")
64
64
 
65
65
  isObservingStatusObserver = false
66
66