iOS Reference Library Apple Developer
Search

Deprecated MPMoviePlayerController Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Available in iOS 2.0 through iOS 3.1

backgroundColor

The color of the background area behind the movie. (Available in iOS 2.0 through iOS 3.1. Get the view from the backgroundView property and set its color directly.)

@property(nonatomic, retain) UIColor *backgroundColor

Discussion

You should avoid using this property. It is available only when you use the initWithContentURL: method to initialize the movie player controller object.

The receiver fades to and from the background color when transitioning to and from playback. Whenever the movie does not fill the screen exactly, this color is used to fill the area between the movie’s frame and the edges of the screen.

The default color for this property is black. You can change this to other colors (including clear) to provide a more appropriate transition from your application’s content to the movie content.

Availability
  • Available in iOS 2.0 through iOS 3.1.
Related Sample Code
Declared In
MPMoviePlayerController.h

movieControlMode

The user controls to display. (Available in iOS 2.0 through iOS 3.1. Use the “Accessing Movie Properties” property instead.)

@property (nonatomic) MPMovieControlMode movieControlMode

Discussion

You should avoid using this property. It is available only when you use the initWithContentURL: method to initialize the movie player controller object.

Determines the control (if any) the user has over movie playback. Different modes give the user access to different sets of playback controls, some of which allow the user to pause and resume playback and some of which do not.

This property is set to MPMovieControlModeDefault by default. See the “MPMovieControlMode” enumeration for the available control modes.

Availability
  • Available in iOS 2.0 through iOS 3.1.
Related Sample Code
Declared In
MPMoviePlayerController.h



Last updated: 2010-07-13

Did this document help you? Yes It's good, but... Not helpful...