Edytuj

Udostępnij za pośrednictwem


AVCaptureStillImageOutput.AutomaticallyEnablesStillImageStabilizationWhenAvailable Property

Definition

Controls whether automatic image stabilization should be used

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AutomaticallyEnablesStillImageStabilizationWhenAvailable { [Foundation.Export("automaticallyEnablesStillImageStabilizationWhenAvailable")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setAutomaticallyEnablesStillImageStabilizationWhenAvailable:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.AutomaticallyEnablesStillImageStabilizationWhenAvailable : bool with get, set

Property Value

Defaults to true for devices that support hardware image stabilization, false otherwise.

Attributes

Remarks

Image stabilization introduces a small delay in taking pictures. This would be a reason to turn this feature off as it is enabled by default.

Attempts to set this value to true on hardware that does not support image stabilization will result in an exception being thrown. Use the IsStillImageStabilizationSupported property to query whether the hardware supports it.

if (capture.IsStillImageStabilizationSupported)
    capture.AutomaticallyEnableStillImageStabilizationWhenAvailable = true;

Applies to