How to customize the size of callout for MKAnnotationView?
-
24-06-2021 - |
Question
I'm new to iOS.
I need to set the size of the callout 300 * 150, how can I do this?
La solution
I've added subview with size I needed.
Autres conseils
The size of the callout bubble adjusts according to the text it contains. If you set Title and subtitle as some long text, the callout will adjust according to it.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow