-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update title/subtitle of current displayed calloutview #56
Comments
Hello - so the callout doesn't officially support changing its content after appearing - because this would require some complex animation to do it "the Apple way". However you might try presenting the callout view again without animation - it would just update in place and resize itself. |
We use such an approach over in https://github.com/mapbox/mapbox-ios-sdk in order to essentially move a callout with a map pan or zoom action. I've played with it for textual changes and had pretty good luck, too. |
I working on a project that need to group annotation on the map. and when the number of annotation change, I expect to update the title/subtitle on current displayed calloutview.
I use to set title and subtitle, but that is not work. because the attribute of property is copy.
I also try another way, is dismiss and present, it work if I am not navigation map to another region, but if I change it will navigation map back to selected annotation.
I wonder how could I update title/subtitle to current callout view for selecting annotation.
Regards,
Ratha
The text was updated successfully, but these errors were encountered: