Edit

Share via


MKMapView.SetCamera(MKMapCamera, Boolean) Method

Definition

Sets the Camera property, optionally animating.

[Foundation.Export("setCamera:animated:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetCamera (MapKit.MKMapCamera camera, bool animated);
abstract member SetCamera : MapKit.MKMapCamera * bool -> unit
override this.SetCamera : MapKit.MKMapCamera * bool -> unit

Parameters

camera
MKMapCamera
animated
Boolean

If true, animate the transition.

Attributes

Applies to

See also