0

I am creating iPhone application where I am showing my office location and its working perfectly.

For map I followed this.

On link, I have code as below.

DisplayMap *ann = [[DisplayMap alloc] init]; 
ann.title = @" Kolkata";
ann.subtitle = @"Mahatma Gandhi Road";

What I want is subtitle as below.

Line 1
Line 2
Line 3

How could I do the same?

Any idea or suggestions please.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
  • http://stackoverflow.com/questions/1565828/how-to-customize-the-callout-bubble-for-mkannotationview/1769862#1769862 – iArezki Nov 14 '12 at 15:17

1 Answers1

0

The default style of map only supports the title and subtitle.

You cannot use multiple subtitles for a pin annotation.

Please review the sample code provided by Apple.

Midhun MP
  • 103,496
  • 31
  • 153
  • 200
  • thanks for the answer. Could you please take a look at my another [question](http://stackoverflow.com/questions/13403977/set-link-color-to-black-in-ios). I am newbie for iOS development – Fahim Parkar Nov 15 '12 at 18:39