How to customize the size of callout for MKAnnotationView?
-
24-06-2021 - |
Domanda
I'm new to iOS. I need to set the size of the callout 300 * 150, how can I do this?
Soluzione
I've added subview with size I needed.
Altri suggerimenti
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.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow