3
따뜻한 인사, 내가지도를 도청 할 때 아이폰 OS mkmapview에 주석을 표시하기 위해 아래의 코드를 사용하고MKAnnotation
을 사용자 정의합니다.
MKPointAnnotation *aAnnotationPoint = [[MKPointAnnotation alloc] init];
aAnnotationPoint.title = @"Virginia";
aAnnotationPoint.subtitle = @"This is a test code .this is a test code. This is a test codeThis is a test code .this is a test code. This is a test code";
// Add the annotationPoint to the map
[myMapView addAnnotation:aAnnotationPoint];
문제는 주석이 완전히 텍스트를 표시되지 않는 것입니다 - 그것은 ...
로를 차단. 나는 운이 인터넷을 통해 샘플의 종류하지만 검색 한
: 다음은 결과입니다. 이것을 어떻게 할 수 있습니까?
답장을 보내 주셔서 감사합니다. 아래 링크를 사용하면 http://blog.asolutions.com/2010/09/building-custom-map-annotation-callouts-part-1/로 변경해야합니다. 멀티 라인 텍스트를 표시 하시겠습니까? 내 scenerio이 작동하도록 보장 jus ... – user198725878