developer
developer

Reputation: 11

How to pass data from webpage to iPhone app

I want to password marked in web page to my iPhone application. If I paste it to clipboard then I need to run my app in background which is not possible in iPhone. So, how I should do that?

Upvotes: 0

Views: 396

Answers (1)

Frog
Frog

Reputation: 1641

You can define a Custom URL Scheme in your iPhone app. Then you can link to your iPhone app using a regular HTML link, so for example <a href="yourapp://mydata">Click here to go to my app</a>. For more information about this, go to the Apple documentation (scroll to the part about Custom URL schemes). You can also find a lot of information about this by googling.

Upvotes: 3

Related Questions