MKMapView.DequeueReusableAnnotation 메서드

정의

오버로드

DequeueReusableAnnotation(String)

재사용 가능한 무효 뷰를 반환합니다.

DequeueReusableAnnotation(String, IMKAnnotation)

DequeueReusableAnnotation(String)

재사용 가능한 무효 뷰를 반환합니다.

[Foundation.Export("dequeueReusableAnnotationViewWithIdentifier:")]
public virtual MapKit.MKAnnotationView DequeueReusableAnnotation (string withViewIdentifier);
abstract member DequeueReusableAnnotation : string -> MapKit.MKAnnotationView
override this.DequeueReusableAnnotation : string -> MapKit.MKAnnotationView

매개 변수

withViewIdentifier
String

다시 사용할 주석 뷰를 식별하는 데 사용되는 식별자입니다.

반환

재사용 가능한 주석 보기입니다.

특성

설명

화면에 더 이상 표시되지 않는 주석 보기를 화면에 있는 주석에 다시 사용할 수 있습니다. 이는 만들어야 하는 주석 보기 수를 줄이는 성능 최적화입니다.

적용 대상

DequeueReusableAnnotation(String, IMKAnnotation)

[Foundation.Export("dequeueReusableAnnotationViewWithIdentifier:forAnnotation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual MapKit.MKAnnotationView DequeueReusableAnnotation (string identifier, MapKit.IMKAnnotation annotation);
abstract member DequeueReusableAnnotation : string * MapKit.IMKAnnotation -> MapKit.MKAnnotationView
override this.DequeueReusableAnnotation : string * MapKit.IMKAnnotation -> MapKit.MKAnnotationView

매개 변수

identifier
String
annotation
IMKAnnotation

반환

특성

적용 대상