How to make iPhone phone numbers available?

I have some phone numbers in UILabel in different UITableView cells.

I also have phone numbers under the subtitle MKnnotations in my MapViews.

How can I make these phone numbers interactive so that they launch the phone application on the iPhone and dial the number?

+3
source share
1 answer

Only UITextViewprocesses it automatically.

Everything else will require that you make the call yourself (for example, answering a press):

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:15415551234"]];
+5
source

All Articles