0

How can I autosize the annotation.title or subtitle?

enter image description here

Damien Debin
  • 2,812
  • 25
  • 41
onpro
  • 107
  • 8
  • you have to manage custom annotation for it. This may help you. https://stackoverflow.com/questions/30793315/customize-mkannotation-callout-view/30795086#30795086 – Yagnesh Dobariya Oct 27 '17 at 08:28
  • Sorry, but i don't know Obj-C, it's hard for me, beacause i'm novice in swift and in programming. Swift my first language – onpro Oct 27 '17 at 08:33
  • Then get help from here to convert from objective c to swift. https://objectivec2swift.com. – Yagnesh Dobariya Oct 27 '17 at 08:37
  • 1
    @YagneshDobariya oh, i don't know about this objectivec2swift.com., thanks. I will use – onpro Oct 27 '17 at 08:43
  • 1
    Swift version here https://stackoverflow.com/questions/40214778/how-to-show-multiple-lines-in-mkannotation-with-autolayout – Kosuke Ogawa Oct 27 '17 at 09:01

0 Answers0