When TwitterKit iOS pushes SFSafariVC modal to login, it shows both "Cancel" and "Done" buttons, but completion is only called for "Cancel"

ios
login

#1

If there is no system Twitter account on an iOS 10 device, then calling Twitter.sharedInstance().logIn {} will present a modal that contains an SFSafariViewController.

Not only does the navbar of the modal have a “Cancel” button, but the contained SFSafariViewController has a “Done” button directly beneath it.

Pressing “Cancel” will call the completion that I’ve provided, but if the user presses “Done”, then nothing gets called.

Is there a way to ensure my completion block is always called when the user presses the “Done” button? Is there a way to show only one dismiss button?