I want to open the app store directly when a user is interested in reviewing my app, and am doing this
The above canOpen variable is always false!!!
In the info.plilist we alreay list the itms and itms-apps scheme
Any input on this and why this is returning always false and we cannot open the app store ?
Code Block NSString *iTunesLink = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@?action=write-review", appId]; NSURL* itunesURL = [NSURL URLWithString:iTunesLink]; bool canOpen = [[UIApplication sharedApplication] canOpenURL:itunesURL]; if (canOpen) { [[UIApplication sharedApplication] openURL:itunesURL]; }
The above canOpen variable is always false!!!
In the info.plilist we alreay list the itms and itms-apps scheme
Code Block <key>LSApplicationQueriesSchemes</key> <array> <string>itms</string> <string>itms-apps</string> </array>
Any input on this and why this is returning always false and we cannot open the app store ?