Custom CallOut not displayed correctly in ios6?

Posted by balu on Stack Overflow See other posts from Stack Overflow or by balu
Published on 2012-11-28T05:58:21Z Indexed on 2012/12/05 5:04 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

As i want to implement the custom call out in the mkmapview i am using these classes CalloutMapAnnotationView.h and CalloutMapAnnotationView.m

I have extracted these classes from the following links

https://github.com/asalom/Custom-Map-Annotation-Callouts/blob/master/Classes/CalloutMapAnnotationView.h

https://github.com/asalom/Custom-Map-Annotation-Callouts/blob/master/Classes/CalloutMapAnnotationView.m

These work fine in ios5 but in ios6 when i am clicking on the call out the map view is moving and call out is not showing correctly as shown in the below figures while i was zooming also its not coming correctly i have tried several ways to get rid out of this problem by checking the version of os and tried to change the some of the methods in the classes but of not use.

After implementing these in ios5 map view coming like this enter image description here

In Ios6 This one not coming properly as like in ios5. for example enter image description here

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c