InstagramLogin
InstagramLogin copied to clipboard
Inconsistency Exception
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)
I figured this out please remove this line from the viewWillDissappear function
if let progressView = progressView { progressView.removeFromSuperview() }