no registered handler for URL scheme itms-apps - Rate button Simulator

HELLO picture HELLO · Nov 23, 2015 · Viewed 7.6k times · Source

I'm making RATE button for iPad Pro. When tapping on Rate Button, the debug area shows...

LaunchServices: ERROR: There is no registered handler for URL scheme itms-apps

-(IBAction)RateButton:(id)sender{

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

}

Why am I getting a "no registered handler for URL scheme" error when I have a URL present in code?

Answer

Alejandro Cotilla picture Alejandro Cotilla · Nov 28, 2015

The URL you're using is correct. BUT if you're trying this on the simulator it won't work and it will show that exact error. The App Store app URL Scheme only works on a device.