Skip to main content
With the Swift Concurrency API, your Rive view joins native focus navigation automatically when the graphic has focus nodes. The platform moves focus between views. Rive moves focus between elements in the graphic.

Native focus

Rive discovers focus nodes asynchronously after loading. The graphic can appear before the view can receive focus.
Native focus varies by platform. See Apple’s guidance for iPadOS 15 and later, tvOS, and visionOS and Mac Catalyst. iPhone offers Full Keyboard Access as a separate accessibility feature.
RiveUIViewRepresentable and AsyncRiveUIViewRepresentable become focusable automatically when the graphic is ready. Add either view directly to your SwiftUI hierarchy.

Moving between elements

  • Tab and Shift+Tab follow the focus order set in the editor.
  • Arrow keys move focus in the direction you press.
  • On tvOS, the Siri Remote also moves focus. Rive treats the remote’s Select button as Enter. See Apple TV focus interactions.
Rive waits for the State Machine to handle each key before deciding whether to pass it back to the platform. Keyboard listeners get the key before focus navigation does. For example, if Rive leaves Tab unhandled at the last element, the platform can move focus to the next native control. Full Keyboard Access and gamepad navigation outside tvOS fall outside the Apple runtime’s focus support. Use Semantics for VoiceOver.