Deprecated AVPlayer Methods

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

Deprecated in iOS 6.0

airPlayVideoActive

Indicates whether the player is currently playing video through AirPlay. (read-only) (Deprecated in iOS 6.0.)

@property(nonatomic, readonly, getter=isAirPlayVideoActive) BOOL airPlayVideoActive
Availability
  • Available in iOS 5.0 and later.
  • Deprecated in iOS 6.0.
Declared In
AVPlayer.h

allowsAirPlayVideo

Indicates whether the player allows AirPlay video playback. (Deprecated in iOS 6.0.)

@property(nonatomic) BOOL allowsAirPlayVideo
Discussion

The default value is YES.

Availability
  • Available in iOS 5.0 and later.
  • Deprecated in iOS 6.0.
Declared In
AVPlayer.h

usesAirPlayVideoWhileAirPlayScreenIsActive

Indicates whether the player should automatically switch to AirPlay Video while AirPlay Screen is active in order to play video content, switching back to AirPlay Screen as soon as playback is done. (Deprecated in iOS 6.0.)

@property(nonatomic) BOOL usesAirPlayVideoWhileAirPlayScreenIsActive
Discussion

The default value is NO.

This property has no effect if allowsAirPlayVideo is NO.

Availability
  • Available in iOS 5.0 and later.
  • Deprecated in iOS 6.0.
Declared In
AVPlayer.h