2

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?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
JGrn84
  • 750
  • 1
  • 9
  • 26

1 Answers1

2

I think The link will only work after the app has been approved.

Reference from the omz's answer from HERE.

Community
  • 1
  • 1
Dharmesh Kheni
  • 71,228
  • 33
  • 160
  • 165