Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
f242d2aa
Commit
f242d2aa
authored
May 07, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 版本更新
parent
8ad4e6d3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
7 deletions
+42
-7
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+12
-0
YHAppVersionManager.swift
...s/Modules/VersionUpload(版本更新)/M/YHAppVersionManager.swift
+25
-0
YHAppVersionForceUpdateView.swift
...s/VersionUpload(版本更新)/V/YHAppVersionForceUpdateView.swift
+4
-4
YHFindAppNewVersionView.swift
...dules/VersionUpload(版本更新)/V/YHFindAppNewVersionView.swift
+1
-3
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
f242d2aa
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
044414052BC3B9DE00784A14
/* YHServiceTableFootView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044414042BC3B9DE00784A14
/* YHServiceTableFootView.swift */
;
};
044414052BC3B9DE00784A14
/* YHServiceTableFootView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044414042BC3B9DE00784A14
/* YHServiceTableFootView.swift */
;
};
0445E6AF2BE9CFF6003C52F9
/* YHAppVersionForceUpdateView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0445E6AE2BE9CFF6003C52F9
/* YHAppVersionForceUpdateView.swift */
;
};
0445E6AF2BE9CFF6003C52F9
/* YHAppVersionForceUpdateView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0445E6AE2BE9CFF6003C52F9
/* YHAppVersionForceUpdateView.swift */
;
};
0445E6B12BE9E15C003C52F9
/* YHFindAppNewVersionView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0445E6B02BE9E15C003C52F9
/* YHFindAppNewVersionView.swift */
;
};
0445E6B12BE9E15C003C52F9
/* YHFindAppNewVersionView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0445E6B02BE9E15C003C52F9
/* YHFindAppNewVersionView.swift */
;
};
0445E6B42BEA15C4003C52F9
/* YHAppVersionManager.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0445E6B32BEA15C4003C52F9
/* YHAppVersionManager.swift */
;
};
044867B42BA1953B00DFAD4A
/* YHCertificateFilterView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044867B32BA1953B00DFAD4A
/* YHCertificateFilterView.swift */
;
};
044867B42BA1953B00DFAD4A
/* YHCertificateFilterView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044867B32BA1953B00DFAD4A
/* YHCertificateFilterView.swift */
;
};
044867B62BA1A03800DFAD4A
/* YHCertificateFilterItemCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044867B52BA1A03800DFAD4A
/* YHCertificateFilterItemCell.swift */
;
};
044867B62BA1A03800DFAD4A
/* YHCertificateFilterItemCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044867B52BA1A03800DFAD4A
/* YHCertificateFilterItemCell.swift */
;
};
044867B82BA1C75700DFAD4A
/* YHCertificateUploadFailTipsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044867B72BA1C75700DFAD4A
/* YHCertificateUploadFailTipsView.swift */
;
};
044867B82BA1C75700DFAD4A
/* YHCertificateUploadFailTipsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044867B72BA1C75700DFAD4A
/* YHCertificateUploadFailTipsView.swift */
;
};
...
@@ -487,6 +488,7 @@
...
@@ -487,6 +488,7 @@
044414042BC3B9DE00784A14
/* YHServiceTableFootView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHServiceTableFootView.swift
;
sourceTree
=
"<group>"
;
};
044414042BC3B9DE00784A14
/* YHServiceTableFootView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHServiceTableFootView.swift
;
sourceTree
=
"<group>"
;
};
0445E6AE2BE9CFF6003C52F9
/* YHAppVersionForceUpdateView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAppVersionForceUpdateView.swift
;
sourceTree
=
"<group>"
;
};
0445E6AE2BE9CFF6003C52F9
/* YHAppVersionForceUpdateView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAppVersionForceUpdateView.swift
;
sourceTree
=
"<group>"
;
};
0445E6B02BE9E15C003C52F9
/* YHFindAppNewVersionView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFindAppNewVersionView.swift
;
sourceTree
=
"<group>"
;
};
0445E6B02BE9E15C003C52F9
/* YHFindAppNewVersionView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFindAppNewVersionView.swift
;
sourceTree
=
"<group>"
;
};
0445E6B32BEA15C4003C52F9
/* YHAppVersionManager.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHAppVersionManager.swift
;
sourceTree
=
"<group>"
;
};
044867B32BA1953B00DFAD4A
/* YHCertificateFilterView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateFilterView.swift
;
sourceTree
=
"<group>"
;
};
044867B32BA1953B00DFAD4A
/* YHCertificateFilterView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateFilterView.swift
;
sourceTree
=
"<group>"
;
};
044867B52BA1A03800DFAD4A
/* YHCertificateFilterItemCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateFilterItemCell.swift
;
sourceTree
=
"<group>"
;
};
044867B52BA1A03800DFAD4A
/* YHCertificateFilterItemCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateFilterItemCell.swift
;
sourceTree
=
"<group>"
;
};
044867B72BA1C75700DFAD4A
/* YHCertificateUploadFailTipsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateUploadFailTipsView.swift
;
sourceTree
=
"<group>"
;
};
044867B72BA1C75700DFAD4A
/* YHCertificateUploadFailTipsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateUploadFailTipsView.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -1028,6 +1030,7 @@
...
@@ -1028,6 +1030,7 @@
0445E6AC2BE9CF53003C52F9
/* VersionUpload(版本更新) */
=
{
0445E6AC2BE9CF53003C52F9
/* VersionUpload(版本更新) */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
0445E6B22BEA15A2003C52F9
/* M */
,
0445E6AD2BE9CF95003C52F9
/* V */
,
0445E6AD2BE9CF95003C52F9
/* V */
,
);
);
path
=
"VersionUpload(版本更新)"
;
path
=
"VersionUpload(版本更新)"
;
...
@@ -1042,6 +1045,14 @@
...
@@ -1042,6 +1045,14 @@
path
=
V
;
path
=
V
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
0445E6B22BEA15A2003C52F9
/* M */
=
{
isa
=
PBXGroup
;
children
=
(
0445E6B32BEA15C4003C52F9
/* YHAppVersionManager.swift */
,
);
path
=
M
;
sourceTree
=
"<group>"
;
};
045EED972B9F171A0022A143
/* ServiceProcess(我的信息流程) */
=
{
045EED972B9F171A0022A143
/* ServiceProcess(我的信息流程) */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -2841,6 +2852,7 @@
...
@@ -2841,6 +2852,7 @@
A5C382CF2B5F9A9100C5E65C
/* YHServiceCenterMainViewModel.swift in Sources */
,
A5C382CF2B5F9A9100C5E65C
/* YHServiceCenterMainViewModel.swift in Sources */
,
045EEEA52B9F171A0022A143
/* YHImageViewController.swift in Sources */
,
045EEEA52B9F171A0022A143
/* YHImageViewController.swift in Sources */
,
045EEEF32B9F171A0022A143
/* YHFamilyMemberInfoListVC.swift in Sources */
,
045EEEF32B9F171A0022A143
/* YHFamilyMemberInfoListVC.swift in Sources */
,
0445E6B42BEA15C4003C52F9
/* YHAppVersionManager.swift in Sources */
,
04EA230C2BB5199D009DA928
/* YHDocumentToActionTableViewCell.swift in Sources */
,
04EA230C2BB5199D009DA928
/* YHDocumentToActionTableViewCell.swift in Sources */
,
A5ACE9572B4564F7002C94D2
/* YHBasicContentView.swift in Sources */
,
A5ACE9572B4564F7002C94D2
/* YHBasicContentView.swift in Sources */
,
A517A4E52BB6C4BB000DEECD
/* YHDocumentFileItemView.swift in Sources */
,
A517A4E52BB6C4BB000DEECD
/* YHDocumentFileItemView.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/VersionUpload(版本更新)/M/YHAppVersionManager.swift
0 → 100644
View file @
f242d2aa
//
// YHAppVersionManager.swift
// galaxy
//
// Created by edy on 2024/5/7.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHAppVersionManager
{
static
func
goToAppStore
()
{
// 替换为你要打开的 App Store 中的应用程序链接
let
appStoreLink
=
"https://itunes.apple.com/app/989673964"
// 使用该链接创建一个 URL 实例
if
let
url
=
URL
(
string
:
appStoreLink
)
{
if
UIApplication
.
shared
.
canOpenURL
(
url
)
{
UIApplication
.
shared
.
open
(
url
,
options
:
[:],
completionHandler
:
nil
)
}
else
{
YHHUD
.
flash
(
message
:
"无法打开AppStore链接~"
)
}
}
}
}
galaxy/galaxy/Classes/Modules/VersionUpload(版本更新)/V/YHAppVersionForceUpdateView.swift
View file @
f242d2aa
...
@@ -19,8 +19,6 @@ class YHAppVersionForceUpdateView: UIView {
...
@@ -19,8 +19,6 @@ class YHAppVersionForceUpdateView: UIView {
lazy
var
blackMaskView
:
UIView
=
{
lazy
var
blackMaskView
:
UIView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
alertMaskColor
view
.
backgroundColor
=
.
alertMaskColor
// let tap = UITapGestureRecognizer(target: self, action: #selector(dismiss))
// view.addGestureRecognizer(tap)
return
view
return
view
}()
}()
...
@@ -161,10 +159,12 @@ class YHAppVersionForceUpdateView: UIView {
...
@@ -161,10 +159,12 @@ class YHAppVersionForceUpdateView: UIView {
}
}
@objc
func
didClickUpdateBtn
()
{
@objc
func
didClickUpdateBtn
()
{
YHAppVersionManager
.
goToAppStore
()
}
}
@objc
func
didClickExitBtn
()
{
@objc
func
didClickExitBtn
()
{
DispatchQueue
.
main
.
async
{
exit
(
1
)
}
}
}
}
}
galaxy/galaxy/Classes/Modules/VersionUpload(版本更新)/V/YHFindAppNewVersionView.swift
View file @
f242d2aa
...
@@ -63,8 +63,6 @@ class YHFindAppNewVersionView: UIView {
...
@@ -63,8 +63,6 @@ class YHFindAppNewVersionView: UIView {
lazy
var
blackMaskView
:
UIView
=
{
lazy
var
blackMaskView
:
UIView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
alertMaskColor
view
.
backgroundColor
=
.
alertMaskColor
let
tap
=
UITapGestureRecognizer
(
target
:
self
,
action
:
#selector(
dismiss
)
)
view
.
addGestureRecognizer
(
tap
)
return
view
return
view
}()
}()
...
@@ -271,6 +269,6 @@ class YHFindAppNewVersionView: UIView {
...
@@ -271,6 +269,6 @@ class YHFindAppNewVersionView: UIView {
}
}
@objc
func
didClickUpdateBtn
()
{
@objc
func
didClickUpdateBtn
()
{
YHAppVersionManager
.
goToAppStore
()
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment