different behavior of custom callout in ios5 and ios6

Discussion in 'iOS 6' started by nidhi5920, Apr 11, 2013.

  1. nidhi5920 macrumors newbie

    Joined:
    Dec 18, 2012
    #1
    Hi Everyone,
    I am using Mapkit in my project, according to my need i have customized Callout bubble, thats working fine, but a really strange behavior i found there, that when i run my project on ios6, it works fine, but when i run the same on ios 5 or earlier version, it is not as expected.
    Problem: i was not able to dismiss the custom callout on tapping anywhere in the MapView, so i just used UITapGestureRecognizer to detect tap on Map, and written code in "didDeselectAnnotationView" delegate method to dismiss the callout bubble when MapView Tapped, it works, but when i go to reselect that annotation pin again, it doesnt respond, for select that annotation Pin again, first i have to select any other pin, after that i would be able to select previous pin again.
    Please Help
     
  2. waterskier2007 macrumors 68000

    waterskier2007

    Joined:
    Jun 19, 2007
    Location:
    White Lake, MI

Share This Page