Powhu Yang
Results
1
comments of
Powhu Yang
`updateLayout()` must call in the `DispatchQueue.main.async`. Otherwise, problems still occur. ```Swift override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) { super.viewWillTransition(to: size, with: coordinator) DispatchQueue.main.async { self.updateLayout() } } ```