What is the User Agent in tvOS?

What is the default user agent in tvOS while tvOS doesn't support webkit?


??So far I can get a UA like "AppName/1 CFNetwork/758.1.2 Darwin/15.0.0". However, is there an API that I can get a browser like UA such as Mozilla/5.0 (Apple TV; CPU iPhone OS 9_0 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13T534YI which includes some device and OS info?


Thanks

I saw this user agent in the TVMLCatelog sample app: com.example.apple-samplecode.TVMLCatalog/1.0 iOS/9.0 model/AppleTV5,3 build/13T5365h.


Is there an API or way to get this user agent string?


Thanks

Hello Izhang,


Have you had a chance to figure out what is the actual user agent for new tvOS is? I have the same agent: "AppName/1 CFNetwork/758.1.2 Darwin/15.0.0". but not sure if it right.


Thank you in advance for you answer.

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

Any update?

Hi,


Any update on finding the User Agent for the tvOS ?

What is the User Agent in tvOS?
 
 
Q