Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
要件は、番号を見つけることです。特定の座標に存在する注釈の。いいえを見つけるために使用できる直接的な方法はありますか。任意の時点での注釈の? またはどうすればそれができますか?
注釈は地図上にあります。関心のある座標の周囲にバウンディング ボックスを定義する必要があります。この座標バウンディング ボックスから を計算しMKMapRect、そこから を使用して内部の注釈を取得できますannotationsInMapRect:。
MKMapRect
annotationsInMapRect:
または、注釈を所有しているため、生の注釈データが保存されているデータ構造を検索できます。