How to customize the size of callout for MKAnnotationView?
-
24-06-2021 - |
题
I'm new to iOS. I need to set the size of the callout 300 * 150, how can I do this?
解决方案
I've added subview with size I needed.
其他提示
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.
不隶属于 StackOverflow