0

Possible Duplicate:
Dial a phone number with an access code programmatically

I am creating an iPhone application for a company. In one of the pages, I included the company's phone number. However, I want the number on the interface to be able to dial in one click.

For example, the number I have typed in the back-end would be made available to call on the application page instead of a text showing the number. I want to make it dial-able through a click on the number.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Jasmine
  • 75
  • 1
  • 1
  • 6

1 Answers1

1

Place your phone number in UITextView readonly instance and make it auto-detect phone numbers with dataDetectorTypes property.

Brad Larson
  • 170,088
  • 45
  • 397
  • 571
Denis
  • 6,313
  • 1
  • 28
  • 27