Deprecated AVCaptureVideoPreviewLayer Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in iOS 6.0
automaticallyAdjustsMirroring
Indicates whether the layer display automatically adjusts mirroring. (Deprecated in iOS 6.0. Use automaticallyAdjustsVideoMirroring (AVCaptureConnection) instead.)
Discussion
For some session configurations, preview will be mirrored by default.
When the value of this property is YES, the value of mirrored may change depending on the configuration of the session, for example after switching to a different capture device input.
Availability
- Available in iOS 4.0 and later.
- Deprecated in iOS 6.0.
Declared In
AVCaptureVideoPreviewLayer.hmirrored
Indicates whether the layer display is mirrored. (Deprecated in iOS 6.0. Use videoMirrored (AVCaptureConnection) instead.)
Discussion
To change the value of this property, the value of automaticallyAdjustsMirroring must be NO.
Mirroring is not supported on all hardware configurations. You should check the value of supportsVideoMirroring (AVCaptureConnection) before attempting to change this value.
Availability
- Available in iOS 4.0 and later.
- Deprecated in iOS 6.0.
Declared In
AVCaptureVideoPreviewLayer.hmirroringSupported
Indicates whether the layer display supports mirroring. (read-only) (Deprecated in iOS 6.0. Use supportsVideoMirroring (AVCaptureConnection) instead.)
Availability
- Available in iOS 4.0 and later.
- Deprecated in iOS 6.0.
See Also
Declared In
AVCaptureVideoPreviewLayer.horientation
The layer’s orientation. (Deprecated in iOS 6.0. Use videoOrientation (AVCaptureConnection) instead.)
Discussion
Changes in orientation are not supported on all hardware configurations. You should check the value of supportsVideoOrientation (AVCaptureConnection) before attempting to change the orientation of the receiver. An exception is raised if this requirement is ignored.
Availability
- Available in iOS 4.0 and later.
- Deprecated in iOS 6.0.
See Also
Declared In
AVCaptureVideoPreviewLayer.horientationSupported
Indicates whether the layer display supports changing the orientation. (read-only) (Deprecated in iOS 6.0. Use supportsVideoOrientation (AVCaptureConnection) instead.)
Availability
- Available in iOS 4.0 and later.
- Deprecated in iOS 6.0.
See Also
Declared In
AVCaptureVideoPreviewLayer.h© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-19)