-1

I am working on tvOS app and the requirement is to display tab bar controls on left side like in Disney+ tvos app. So can display tabbar controls on the left side or do I have to create a custom view to achieve this?

Attached is the Disney+ tvos tabbar images

enter image description here

V V
  • 774
  • 1
  • 9
  • 29

1 Answers1

0

As far as I know, there is no way to rotate a UITabBarController on its side. However, you could take a UITabView (https://developer.apple.com/documentation/uikit/uitabbar) and rotate it on its side using Core Animation. To add functionality, set something as the UITabBar's delegate to learn about changes.

As far as an actual code snippet, I typically write in Swift, but I found another Stack Overflow answer with what you're looking for.

How to programmatically rotate image by 90 Degrees in iPhone?

Hope that helps, have a nice day!

Jackson Zamorano
  • 343
  • 1
  • 3
  • 8