Hi,
Swizzling is one of the most straightforward ways to replace fonts in the whole application seamlessly. Is there a chance Apple will provide an API for replacing system fonts?
Post
Replies
Boosts
Views
Activity
You can launch the extension from inside of your app by starting one of these requests as described in WWDC - https://developer.apple.com/videos/play/wwdc2020/10666/:
• ASAccountAuthenticationModificationReplacePasswordWithSignInWithAppleRequest - https://developer.apple.com/documentation/authenticationservices/asaccountauthenticationmodificationreplacepasswordwithsigninwithapplerequest
• ASAccountAuthenticationModificationUpgradePasswordToStrongPasswordRequest - https://developer.apple.com/documentation/authenticationservices/asaccountauthenticationmodificationupgradepasswordtostrongpasswordrequest
You can debug the extension by attaching the debugger in Xcode -> Debug -> Attach to Process ...
What I struggled with so far is getting the Security recommendations to show up in Settings. I only saw the "Change password on Website" button, but not the "Use Sign in with Apple" nor "Change to Strong Password" buttons, which would invoke the extension.
Edit - Use Sign in with Apple appeared on Simulator, but not on a real device (Xcode 12 Beta 6 / iOS 14 Beta 6)
Thank you very much for the reply! You can find a summary of the request in FB9048011.