setPosterImage(_:)
Sets the poster image to display for the movie.
Declaration
func setPosterImage(_ posterImage: WKImage?)Parameters
- posterImage:
The image to be displayed. Specifying
nilremoves the existing image, causing the watch interface to display nothing in the space previously occupied by the image.
Discussion
This method changes the poster image that is displayed for the movie.