Commit dffab2e2 authored by David黄金龙's avatar David黄金龙

Merge branch 'youhua-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into youhua-dev

* 'youhua-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS:
  //  APP ID 更改
parents a0a1d2ce 2a3ad8a1
...@@ -10,6 +10,7 @@ import UIKit ...@@ -10,6 +10,7 @@ import UIKit
// 本地存储日期 当天是否显示过建议更新最新版本红点提示的日期 // 本地存储日期 当天是否显示过建议更新最新版本红点提示的日期
let kShowRedPointOfSuggestLatestVersionDate = "show_redpoint_suggest_latest_version_date" let kShowRedPointOfSuggestLatestVersionDate = "show_redpoint_suggest_latest_version_date"
let appId = "6502422466"
class YHAppVersionManager { class YHAppVersionManager {
...@@ -17,7 +18,7 @@ class YHAppVersionManager { ...@@ -17,7 +18,7 @@ class YHAppVersionManager {
func goToAppStore() { func goToAppStore() {
// 替换为你要打开的 App Store 中的应用程序链接 // 替换为你要打开的 App Store 中的应用程序链接
let appStoreLink = "https://itunes.apple.com/app/989673964" let appStoreLink = "https://itunes.apple.com/app/\(appId)"
// 使用该链接创建一个 URL 实例 // 使用该链接创建一个 URL 实例
if let url = URL(string: appStoreLink) { if let url = URL(string: appStoreLink) {
if UIApplication.shared.canOpenURL(url) { if UIApplication.shared.canOpenURL(url) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment