SRGSSR / srguserdata-apple

A framework to store user data and synchronize it with an account
MIT License
1 stars 0 forks source link

tvOS demo navigation #1

Closed defagos closed 4 years ago

defagos commented 4 years ago

tvOS demo navigation has an issue when an empty view controller has been pushed (e.g. empty playlist). In such cases, the focus stays on the tab bar, and we cannot navigate to the playlist list.

We need to further investigate how tvOS navigation is supposed to work in such cases, having a look at existing applications. Should we always have an interactive item in any view controller, even when empty? Should we rewire the menu button in such cases so that the app is not immediately exited when the focus is on the tab bar and the navigation is not at the root? (probably not).

defagos commented 4 years ago

One way often used by apps is to have a tab bar controller only at the root of a navigation.

defagos commented 4 years ago

Done. Will be delivered in 2.0.0, the first release supporting tvOS.