Is there any way to get SIZE of the screen in tvOS?

Viewed 1659

I am trying to get size the of the screen connected to apple tv, is it possible? I have been looking into the documentation provided by apple related to UIScreen but couldn't find anything new except nativeBounds which is same as bounds.

let screenSize = UIScreen.mainScreen().bounds.size
let nativeBound = UIScreen.mainScreen().nativeBounds.size

Both of them are giving me output in pixels, but i need the screen/monitor size (inch) as well. So that i could arrange the display accordingly.

Thanks in advance!

1 Answers
Related