はじめに 本記事では MKMapView (iOS 組み込みの地図 UI)を使ったアプリを作る際に役に立ちそうな実装の例を紹介します。 環境 OS X 10.10.5(14F27) Xcode Version 6.4 (6E35b) development target: iOS 8.4 コンビニや公共施設などの情報を MKMapView から消したい MKMapView の showsPointsOfInterest プロパティを NO にします。コードでも Storyboard でも設定できます。 showsPointsOfInterest = YES の場合は以下のような表示になります。 showsPointsOfInterest = NO の場合は以下のような表示になります。 MKMapView で表示中の注釈(アノテーション)オブジェクトを取得したい MKMapView の vi
![[iOS][小ネタ] 地図アプリ作成時に役に立ちそうな MKMapView の 目的別実装例 | DevelopersIO](https://cdn-ak-scissors.b.st-hatena.com/image/square/c83d413afe58d904e71a2ee3e849a272825f43c1/height=288;version=1;width=512/https%3A%2F%2Fdevio2023-media.developers.io%2Fwp-content%2Fuploads%2F2015%2F01%2Fios_ui.png)