Parcourir la source

Coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana il y a 2 ans
Parent
commit
e79781352b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

+ 2 - 0
iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

@@ -243,6 +243,8 @@ class NCPlayer: NSObject {
 
     func activateObserver() {
 
+        print("activate Observer")
+
         // At end go back to start & show toolbar
         observerAVPlayerItemDidPlayToEndTime = NotificationCenter.default.addObserver(forName: .AVPlayerItemDidPlayToEndTime, object: player?.currentItem, queue: .main) {  [weak self] notification in