Seek with remote arrows when tvOS player controls are hidden

Left/right on the Siri Remote now seek instead of revealing controls,
reusing the iOS tap-seek accumulation handler and feedback overlay so
rapid presses compound into a single "+30s" / "-20s" jump. Up/down
still show controls.
This commit is contained in:
Arkadiusz Fal
2026-04-14 19:12:56 +02:00
parent f5ddcd0fa5
commit c7d1f1c20b
3 changed files with 111 additions and 14 deletions

View File

@@ -5,8 +5,7 @@
// Handles execution of gesture actions on the player.
//
#if os(iOS)
import UIKit
import Foundation
/// Result of executing a tap gesture action.
struct TapActionResult: Sendable {
@@ -206,4 +205,3 @@ actor PlayerGestureActionHandler {
self.duration = duration
}
}
#endif