Question

I need to build support for Apple TV in a web app. But I can't seem to find the user agent string for its browser anywhere.

Can anyone help out?

Was it helpful?

Solution

A Sample UA is

User-Agent: iTunes-AppleTV/4.1

The 4.1 being the software version. There can be characters after the version so you need to take that into account when doing matching.

OTHER TIPS

The second generation Apple TV does not have Web browser functionality built into it. (I don't know if the first generation ATV did or not.)

Google searches reveal:

AppleTV/2.4

is a valid Apple TV user-agent string.

I'd assume you have an Apple TV for testing. Couldn't you just write a page that displays the user-agent and connect to it from the Apple TV?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top