添加一个本地的快速倡议“与果树相配”纽.。 纽芬兰无视框架的规模,并全心全意。
另外,我尝试了<代码>固定,但结果大致相同。 我使用的是Xcode 15和macOS 14.0。
Not sure if this is a bug in macOS, SwiftUI: Cannot change height of "Sign In with Apple" button on macOS
SignInWithAppleButton(
.continue,
onRequest: { request in
request.requestedScopes = [.email]
},
onCompletion: { result in
switch result {
case let .success(authorization):
guard
let appleIDCredentials = authorization
.credential as? ASAuthorizationAppleIDCredential
else { return }
print(
">>> DEBUG: SignInWithAppleButton Auth Credential Ready - ",
appleIDCredentials)
case let .failure(error):
print(">>> DEBUG: SignInWithAppleButton Auth Failed - ", error)
}
})
.border(Color.red)
.frame(height: 30.0)