Reputation: 75336
This question:
Launch iPhone app from link in email
suggests that it's possible to launch a particular iPhone application from a link in an email. Is it possible to include an app-launching link of this type in a text message, so that the reader has the option of pressing it (and launching the app) in the same way that they can call a phone number in a text message?
Upvotes: 4
Views: 2362
Reputation: 6040
Read the iOS application programming guide section Implementing Custom URL Schemes.
Add a row to your Info.plist (right-click the root item and select Add Row) and give the new row the key URL types
.
Open up the item that is added as a child of that row and set the URL identifier
to something like com.yourcompany.product
.
Add a child row to Item 0 and give it the key URL Schemes
Set the value on that row to something unique. Maybe your app name (no spaces, just letters).
Implement the application:handleOpenURL: in your application delegate in case you want to actually look at the URL.
Upvotes: 7
Reputation: 34945
Why don't you try this? It takes 5 minutes to connect a url scheme to your app. Then just send yourself a text message with a link.
Upvotes: 1