I am a iPhone developer. I know that we can open iphone app from other apps using CustomURL Scheme and calling that from openURL:
method.
What I am looking for I want to open my app which has some customURLScheme registered in plist file from a php web pages. I have a very little knowledge on PHP. I know that I can check that the client browser from where we got request is iphone safari or not.
now I have following logic to follow:
if(Client == iPhoneSafari) {
//Open My App URL
}
For opening app from iphone to iphone we use following code:
[[UIApplication sharedApplication] openURL:myURL];
I have checked This Link and I want to make sure that the same code of iphone will work for web page opened in iphone safari or not??
If no than I want to know what code we need to write for samething to do in webpage for opening app.
I know this is very silly to ask for code here.. but I don't know about PHP and I am not aware with syntax.
Thanks In Advance