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
  • 307,833
  • 40
  • 508
  • 550
JGrn84
  • 740
  • 1
  • 8
  • 25

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
  • 69,532
  • 33
  • 158
  • 163