Reputation: 750
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?
Upvotes: 2
Views: 2590
Reputation: 71854
I think The link will only work after the app has been approved.
Reference from the omz's answer from HERE.
Upvotes: 2