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
66fc9ce3
Commit
66fc9ce3
authored
Jul 04, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
屏蔽 苹果账号登录功能
parent
1e28e08b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
YHOtherLoginViewController.swift
...sses/Modules/Login(登录)/C/YHOtherLoginViewController.swift
+12
-12
No files found.
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHOtherLoginViewController.swift
View file @
66fc9ce3
...
...
@@ -184,18 +184,18 @@ class YHOtherLoginViewController: YHBaseViewController {
make
.
height
.
width
.
equalTo
(
44
)
}
}
else
{
appleButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
setImage
(
UIImage
(
named
:
"login_apple"
),
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
appleLogin
)
,
for
:
.
touchUpInside
)
return
button
}()
view
.
addSubview
(
appleButton
)
appleButton
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
make
.
bottom
.
equalTo
(
-
58
)
make
.
height
.
width
.
equalTo
(
44
)
}
//
appleButton = {
//
let button = UIButton(type: .custom)
//
button.setImage(UIImage(named: "login_apple"), for: .normal)
//
button.addTarget(self, action: #selector(appleLogin), for: .touchUpInside)
//
return button
//
}()
//
view.addSubview(appleButton)
//
appleButton.snp.makeConstraints { make in
//
make.centerX.equalToSuperview()
//
make.bottom.equalTo(-58)
//
make.height.width.equalTo(44)
//
}
}
}
...
...
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