Posts

Post not yet marked as solved
14 Replies
With this bug still present the setNeedsLayout isn't working for me with Swift 4. The following is however working for me.override func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated) if #available(iOS 13.0, *) { self.view.layoutIfNeeded() self.view.updateConstraintsIfNeeded() } }