Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Danneman101

macrumors 6502
Original poster
Aug 14, 2008
361
1
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:
Code:
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?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.