質問編集履歴

2

タイトル修正

2017/04/24 04:53

投稿

Ethan
Ethan

スコア8

test CHANGED
@@ -1 +1 @@
1
- Collection Viewセル内のMKMapViewが複数表示されてしまう
1
+ Collection Viewセル内のMKMapViewに配置している位置情報ピンが複数表示されてしまう
test CHANGED
File without changes

1

誤字

2017/04/24 04:53

投稿

Ethan
Ethan

スコア8

test CHANGED
File without changes
test CHANGED
@@ -34,7 +34,7 @@
34
34
 
35
35
  let region = MKCoordinateRegionMake(coordinate, span)
36
36
 
37
- cell.audioMapView.setRegion(region, animated:true)
37
+ cell.mapView.setRegion(region, animated:true)
38
38
 
39
39
 
40
40
 
@@ -46,7 +46,7 @@
46
46
 
47
47
  annotation.coordinate = CLLocationCoordinate2D(latitude: section.sectionLat, longitude: section.sectionLon)
48
48
 
49
- cell.audioMapView.addAnnotation(annotation)
49
+ cell.mapView.addAnnotation(annotation)
50
50
 
51
51
  return cell
52
52