Glitchy UIRefreschControl animation with large headings for the navigation bar

I have a controller built into a navigation controller with large headers and a UIRefreshControl. When I click on an update in my TableView, the activity indicator animation is very buggy.

enter image description here

I donโ€™t know if I have bad behavior in my code?

tableView.refreshControl = UIRefreshControl() tableView.refreshControl?.addTarget(self, action: #selector(downloadData), for: .valueChanged)

+4
source share
2 answers

false, . , tableView , Superview. , , , , , , . self.extendedlayoutincludesopaquebars = true

0

viewDidLoad:

navigationController?.navigationBar.isTranslucent = true

.

0

Source: https://habr.com/ru/post/1690254/


All Articles