macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

MKAnnotationViewクラス

INDEX>MapKit>MKAnnotationView

apple

継承 UIView : UIResponder : NSObject
準拠 UIAppearance (UIView)
UIAppearanceContainer (UIView)
UIDynamicItem (UIView)
NSObject (NSObject)
フレームワーク /System/Library/Frameworks/MapKit.framework
使用可能 iOS 3.0以降
定義 MKAnnotationView.h

概要

メソッドとプロパティ

Initializing and Preparing the View

– initWithAnnotation:reuseIdentifier:
– prepareForReuse

Getting and Setting Attributes

enabled property
image property
highlighted property
annotation property
centerOffset property
calloutOffset property
reuseIdentifier property

Managing the Selection State

– setSelected:animated:
selected property

Managing Callout Views

canShowCallout property
leftCalloutAccessoryView property
rightCalloutAccessoryView property

Supporting Drag Operations

draggable property
– setDragState:animated:
dragState property

クラス

MKAnnotationView

参照