PDA

View Full Version : Custom URL Scheme not supported on iPad?




Danneman101
Aug 11, 2010, 06:32 AM
I'm wondering if there support for Custom URL Schemes has been dropped on the iPad, or if it's handled in a different way than before.

On my iPhone-app I use this simple method to open another app ("app2") from an app ("app1").

app1:

NSString *current_URLScheme = @"app2://";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:current_URLScheme]];


The app2 has its [ info.plist > URL types > item 0 > URL Schemes > item 0 ] set to "app2".

Pretty basic, and works perfectly on iPhone.

Also, Ive found that the [ info.plist > URL Types ..etc ] is not available by default when creating an iPad-app. I dont know if this is an indication that this is not supported any longer, or that you simply have to add this yourself?