We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
try await
1 parent a5f9258 commit c6ef8acCopy full SHA for c6ef8ac
src/fragments/lib/auth/ios/signin_web_ui/30_signin.mdx
@@ -7,7 +7,7 @@ Sweet! You're now ready to launch sign in with web UI. The `signInWithWebUI` api
7
```swift
8
func signInWithWebUI() async {
9
do {
10
- let signInResult = Amplify.Auth.signInWithWebUI(presentationAnchor: self.view.window!)
+ let signInResult = try await Amplify.Auth.signInWithWebUI(presentationAnchor: self.view.window!)
11
if signInResult.isSignedIn {
12
print("Sign in succeeded")
13
}
0 commit comments