Search code examples
iphonexcodesdkapp-storeios6

Why does url behave differently on iOS 6


I am trying to launch my page on the app store from my app using the same code that works on iOS 5. Did Apple change the way this works in iOS 6? The app store is launching and saying "Cannot connect to iTunes Store"

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.com/apps/myname"]];

Solution

  • I think, for solve this, just WAIT. It seems problem in Apple servers.

    For additional info click here

    For your problem colleagues click here

    EDITED:

    If is not server problem, then try just:

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/ru/app/facebook/id284882215?mt=8"]];
    

    and safari will open a iTunes