Skip to content

Commit b87cd4e

Browse files
committed
修改设置里的"去评分"地址, 直达App Store的评分页面
1 parent 3a62c08 commit b87cd4e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Coding_iOS/Coding_iOS-Prefix.pch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757

5858
//appStore地址
5959
#define kAppUrl @"http://itunes.apple.com/app/id923676989"
60+
#define kAppReviewURL @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=923676989"
6061

6162
//版本号
6263
#define kVersion_Coding [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"]

Coding_iOS/Controllers/MeSetting/SettingViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
126126
}
127127
break;
128128
case 1:{//评分
129-
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:kAppUrl]];
129+
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:kAppReviewURL]];
130130
}
131131
break;
132132
default:

0 commit comments

Comments
 (0)