Skip to content

Commit aebb11e

Browse files
authored
Update README.md (p2#355)
1 parent 239fe71 commit aebb11e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,16 @@ func application(_ app: UIApplication,
123123
}
124124
```
125125

126+
For iOS 13 make the callback in `SceneDelegate.swift`
127+
128+
```swift
129+
func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
130+
if let url = URLContexts.first?.url {
131+
AppDelegate.shared.oauth2?.handleRedirectURL(url)
132+
}
133+
}
134+
```
135+
126136
You’re all set!
127137

128138
---

0 commit comments

Comments
 (0)