質問編集履歴
2
参考文献の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -89,6 +89,10 @@
|
|
89
89
|
|
90
90
|
Draggingにした際は、タップしたらピンが浮くようになりましたが、移動させることができませんでした。
|
91
91
|
|
92
|
+
参考
|
93
|
+
https://developer.apple.com/reference/mapkit/mkmapviewdelegate/1452393-mapview
|
94
|
+
https://developer.apple.com/reference/mapkit/mkannotationview/1452639-setdragstate?language=objc
|
95
|
+
|
92
96
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
93
97
|
Xcode7.3.1
|
94
98
|
Swift2.3
|
1
ソースコードに不備があったため
title
CHANGED
File without changes
|
body
CHANGED
@@ -78,6 +78,7 @@
|
|
78
78
|
annotation.title = String("ピン")
|
79
79
|
annotation.subtitle = "\(Double(annotation.coordinate.latitude)), \(Double(annotation.coordinate.longitude))"
|
80
80
|
mapView.addAnnotation(annotation)
|
81
|
+
}
|
81
82
|
}
|
82
83
|
```
|
83
84
|
|