1
지도에 annotation
을 붙이고 핀을 클릭 한 후 오른쪽에 detail disclosure info button
이 있어야합니다. 버튼을 누른 후 코드를 추가 할 수 있습니다. 그러나 프로젝트를 실행할 때 핀을 클릭하면 info button
이 나타나지 않습니다. 누구든지 disclosure info button
을 추가하는 코드를 제공 할 수 있습니까?MapKit annotation 정보 공개 정보 버튼을 추가하는 방법은 무엇입니까?
내 코드 :
extension ViewController: MKMapView{
func mapView(mapView: MKMapView!, viewForAnnotation annotation: MKAnnotation!) -> MKAnnotationView! {
}
감사합니다. Rashwan, 잘 작동합니다! – developermike
@Rob, 다른 예를 업데이트했습니다. –
의견을 보내 주셔서 감사합니다. –