I assume by cancel case, you want to be notified when the user cancels the Sign in with Apple login flow. Yes, when the user presses the "Cancel" button.
Is there some functionality you are trying to achieve with that? Yes, I'm using the ASAuthorizationController with both ASAuthorizationAppleIDRequest and ASAuthorizationPasswordRequest, which, if I understood correctly, presents the sheet only if the user already has an existing Apple or password account.
Only if the user doesn't have an existing account, or cancels the sheet, do we want to present our (manual) Log in / Sign up screen. So, for this, I want to know when the sheet is cancelled, or else, our Log in / Sign up screen never shows up.
Would it be ok to swizzle the private authorizationDidCancel: method as a workaround?
Post
Replies
Boosts
Views
Activity
I just noticed that there's a ASAuthorizationErrorCanceled. Any idea why it isn't used?
Wouldn't it be a better idea to use Discourse as https://forums.swift.org does? I believe it already has browser and email notifications, along other nice features like automatic moderation, replies, etc.
KMT, I guess that this doesn't apply anymore to the new forum, right?
It actually works, my issue was that I didn't keep a strong reference to the object that creates the ASAuthorizationController.
It's 10,000.
Source: https://help.apple.com/app-store-connect/#/devb57be10e7
Source's source: https://developer.apple.com/library/archive/technotes/tn2413/_index.html#//apple_ref/doc/uid/DTS40016228-CH1-TNTAG11
Both replies are completely incorrect. Those tutorials are telling you to disable the apps, not hide them, which means that you can't open them at all!