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