Sorry, I was not clear on the scenario. This bug happens when the Twiiter app is not installed. I’ve updated the above steps.
On iOS 9 or 10 if the Twitter app is not installed, then a network call is attempted. If there is no/bad network connection, this network call fails according to the console output, but the completion handler is not called indicating the error. I’m not seeing the webview coming up at all in this scenario. Seems like the network request is a prerequisite to the webview being displayed.
I have protection in my app against the user trying to authenticate when there is no network connection at all, but sometimes there is a network connection, but that connection can’t get out to anywhere, what I call a black hole network. In that case, I’ll allow the user to try to authenticate, but since the completion handler is never called, it leaves my UI in a bad state.