I am calling
Swifter.authorize(withCallback: URL, presentingFrom: UIViewController, success: Swifter.TokenSuccessHandler, failure: Swifter.TokenFailureHandler) from a push of a button in one
UIViewControllerRepresentable. When you click the button, I’m sent to a Safari website to authorize my app. So far so good. After approving my app and getting back off
“MyTwitterApp://“ neither the code inside
Swifter.TokenSuccessHandler nor inside
Swifter.TokenFailureHandler run. Even the debugger does not go into it. In addition, I get many warnings about construction time
init(account:) is being discontinued since iOS 1
Swifterand as I have found a fairly recent tutorial (definitely created after the launch of iOS 11) that appears
Swifterworks, I’m not sure if it creates any problem.
My main complaint, however, is that I am not able to authorize my app, as the code in
success is not available.