twitter-archive / twitter-kit-ios

Twitter Kit is a native SDK to include Twitter content inside mobile apps.
Apache License 2.0
688 stars 449 forks source link

Twitter Login dismiss my ViewController when hitting Cancel button #85

Open ducnv55 opened 6 years ago

ducnv55 commented 6 years ago

I use TwitterKit to make Login function in my app. When call TWTRTwitter.sharedInstance().logIn() function (on my ViewControllerA), an AlertViewController shows up. I hit Cancel, after a while, my ViewControllerA is dismissed. AlertViewController here I searched TwitterKit's source code but found nothing that shows AlertViewController nor dismissViewController when hit Cancel. Please help me find out the reason. Thank you all.

Expected behavior

Only AlertViewController disappear

Actual behavior

After hitting Cancel button a while, my ViewController is dismissed too.

Environment

iPhone 5s iOS 10.3 Twitter app is already installed

chriscdn commented 5 years ago

See issue #40.

apprithm commented 5 years ago

I found that twitterKit 3.4.2 has this problem. But this problem doesn't exist in 3.4.1