Search code examples
apple-tvtvos

What is the User Agent string for Apple TVs running tvOS?


What is the User Agent string for Apple TVs running the new Apple tvOS operating system (which I believe is based on iOS)? Do they report themselves as being "iOS" devices?


Solution

  • The Apple TV does not support the WebKit framework, meaning you can't technically show webpages and therefore have a User Agent.

    However, if you somehow had it running one the new TVOS, the User Agent would definitely be :

    Mozilla/5.0 (Apple TV; CPU iPhone OS 9_0 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13T534YI