Skip to content
This repository has been archived by the owner on Jul 8, 2019. It is now read-only.

Inconsistency Exception #4

Open
minaMagedNaeem opened this issue Mar 10, 2019 · 1 comment
Open

Inconsistency Exception #4

minaMagedNaeem opened this issue Mar 10, 2019 · 1 comment

Comments

@minaMagedNaeem
Copy link

minaMagedNaeem commented Mar 10, 2019

I used it like the guide in the Readme file and this exception occured when I dismiss the view controller

'NSInternalInconsistencyException', reason: 'Cannot modify constraints for UINavigationBar managed by a controller'

Please note that I have a hidden navigation bar and i present the instagramLoginVC like this:

present(UINavigationController(rootViewController: instagramLogin), animated: true)
@minaMagedNaeem
Copy link
Author

I figured this out
please remove this line from the viewWillDissappear function

if let progressView = progressView { progressView.removeFromSuperview() }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant