TVOS Resource List

Looking at the documentation and examples of TVOS templates for the new Apple TV, I saw that there are icons where you can use the resource. Example:

<badge src="resource://mpaa-pg" class="badge" />
<badge src="resource://button-play" />
<badge src="resource://cc" class="badge" />

Does anyone know where I can find a list of all available resources? I can not find it in the documentation. Thanks.

+4
source share
3 answers

I found a list of some buttons, but also icons: closed captions, common sense labels, pg ratings ... here: https://forums.developer.apple.com/message/57807#57807

also (taken from part of the stream)

, ressources (.png ) :
/Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/System/Library/

+6

, - . , Assets.xcassets:

<img src="resource://LaunchImage"/>

Assets.car

/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/System/Library/Frameworks

Using this cartool I was able to list the contents TVMLKit.framework\Assets.car, and they can all be used as follows:

<img src="resource://popover-chevron-up"/>
0
source

Source: https://habr.com/ru/post/1608457/


All Articles