Custom URL Scheme not supported on iPad?

Discussion in 'iOS Programming' started by Danneman101, Aug 11, 2010.

  1. macrumors 6502

    Aug 14, 2008
    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").

    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?

Share This Page