dreed47

Results 4 comments of dreed47

This issue is effecting me as Im trying to debug an app I'm writing and errors are getting caught and discarded before I see them. What about a DEBUG_MODE that...

yes this is a bug with Jared's approach. If you implement his approach on a view that gets dismissed you get this error about the constraints not having a common...

to fix this you need to setup the dropdown constraints during the viewWillLayoutSubviews()

you need to move the dropdown constraints to viewWillLayoutSubviews(), not the button constraints. these 3 dropView.topAnchor.constraint(equalTo: self.bottomAnchor).isActive = true dropView.centerXAnchor.constraint(equalTo: self.centerXAnchor).isActive = true dropView.widthAnchor.constraint(equalTo: self.widthAnchor).isActive = true