If you are using MKMapView, then you need to create your own MKAnnotation to add to the map. The annotation class implement the following instance methods:
- (NSString *)title - to return the title of the pin, which is usually the first line
- (NSString *)subtitle - to return the subtitle of the pin, which is usually the second line.