Animate safe area inset changes. Issue #1341
This commit is contained in:
parent
ab9e8c09ce
commit
7033879704
|
@ -140,6 +140,12 @@ class ArticleViewController: UIViewController {
|
|||
coordinator.isArticleViewControllerPending = false
|
||||
}
|
||||
|
||||
override func viewSafeAreaInsetsDidChange() {
|
||||
UIView.animate(withDuration: 1) {
|
||||
self.view.layoutIfNeeded()
|
||||
}
|
||||
}
|
||||
|
||||
func updateUI() {
|
||||
|
||||
guard let article = currentArticle else {
|
||||
|
|
Loading…
Reference in New Issue