Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In ios swift app "Rate us"? [duplicate]

Tags:

url

ios

app-store

I am building and app and I included in my app a "Rate us" alert.Everything works,I added actions to the buttons and stuff.The problem is that when I press the "Rate now" button it should take me to my app in the app store.As I did not published my app yet,what URL should I write there? At the "Rate now" button I have this action :

UIApplication.sharedApplication().openURL(NSURL(string : "

Could somebody help me telling me what link should I write there?Thank you a lot!

like image 396
SwiftNinja Avatar asked Nov 14 '14 23:11

SwiftNinja


Video Answer


1 Answers

I'm doing it like:

UIApplication.sharedApplication().openURL(NSURL(string : "http://itunes.com/apps/myappnameinlowercase"));

in swift3

 UIApplication.shared.openURL(NSURL(string : "http://itunes.com/apps/myappnameinlowercase")! as URL);
like image 174
Midhun MP Avatar answered Nov 15 '22 03:11

Midhun MP