3

is there any way to fetch contacts on iphone with user permission via html5 and js? I know app can reach that data but browser can also too?

uyqusuz
  • 61
  • 1
  • 6
  • There's no way to do this I'm afraid. The only way to access contact on an iPhone is to write an app. – OptimusCrime Dec 19 '11 at 10:52
  • This has been asked/answered here: http://stackoverflow.com/questions/2738243/get-users-number-from-iphone-using-html5-jquery – Micah Oct 31 '12 at 16:24

1 Answers1

2

As far as I know a web app is restricted to a sandbox within Safari, and it does not (yet) have an API to support this.

Although there are in between solutions, semi-native apps which provide you with a framework that have an API for this, which you can access with js queries. An example of this is Phone gap

Wolfert
  • 974
  • 6
  • 12