0
현재 특수 효과로 고민하고있는 Im입니다. 파란색 GPS 지점에 대해 AnnotationLable을 방지하려면 어떻게해야합니까? (Here is an Image)현재 위치에 대한 iPhone mapKit 주석
- (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(MKAnnotation *) annotation{
if (annotation == mapView.userLocation) {
return nil;
}
밤은 상기 작업 기능과 나는 두 좌표를 비교할 수 없다는 것을 깨달았다.
힌트를 환영합니다. Simon
그래서 비활성화하지 않아야합니까?! –
정확히 무엇을 성취하려고하는지 모릅니다. '현재 위치'라벨은 사용자가 탭하면 표시되며 깜박이는 파란색 점이 누구인지 확실하지 않을 때 도움이됩니다. 베테랑 사용자는 알게되지만 새로운 사용자는 도움이 될 수 있습니다. – Nick
그는 MKAnnotation 프로토콜을 구현하는 MKnserLocation과 MKAnnotation을 비교합니다. – Alan