Contents

src

Specifies the URL for an image.

Overview

The URL can point to an image on a server or to the resource scheme in your app. For a list of resource images provide by Apple, see the Resource Icons section of TVML. Here’s an example that displays the United States general admission movie rating icon.

<img src="resource://mpaa-g" />

Values for src

String

The URL pointing to the location of the image file.

Elements that Use src

See Also

Image Retrieval