I'm currently using this code to open the app store to my app (which is on iTunes connect but not released yet):
if self.nodeAtPoint(location) == self.rateButton {
UIApplication.sharedApplication().openURL(NSURL(string: "itunes.apple.com/app/id0000000000000")!) }
It won't open in the simulator or on my phone in testing, is this because the app isn't yet released or is my code wrong?