tvOSBrowser
tvOSBrowser copied to clipboard
4k Support
We have some dashboard for business intelligence that we would like to display on our apple TV's however these dashboards require us to use a 4K display to see all the content. Is it possible to make this app render the website in 4k resolution so that all the content can be displayed?
I would love to contribute this change but am not even certain where to start. If you can point me in the right direction I would love to help implement it.
Thanks
This app uses a WebView which automatically scales the content of the webpage to fit the screen. Just like (for example) an iPad does in Safari. Scale is independent of the actual resolution of the monitor. This browser does yet support fluent zooming like on iOS.
To see if your web application/dashboard will render correctly, depends on many factors. I guess it doesn't follow the modern responsive design methods? You simply have try it. You can also try the menu option to "Stop scaling pages to fit" so it should render 1:1. Please be adviced that if there are some video's/streams embedded in the dashboard (and thats the 4K requirement) that this may not work, because video playing does not always work correctly yet in webviews on tvOS.
No videos just graphs and charts. The issue I’m having is that if I set any break points the viewcontroller size appears to be 1920x1080 instead of 4K even though the tv is 4K the webview wont give the full space to the webpage.
It does not matter if the app is scaling pages to fit or not the page renders 1920x 1080 worth of the content then puts the rest of the page in a scrollview. I would like this scrollview to be sized based on the native resolution and any content that does not fit in the native resolution should then become scrollable.
Can you link this enhancement to pull request #19
@jvanakker Is there some feedback on pull request #19 I have not noticed any comments from you, neither has the request been merged? Please let me know if there is something that needs to be changed.
@elksson thanks for reminding, haven't had the time yet. Will review the enhancement, pull request and the other issues later this week/end and let you know.