Couple of tips how to improve user experience with UIRefreshControl

Refresh control animation above content and jerking scroll animation

Animation of UIRefreshContol below content

let refresh = UIRefreshControl()
refresh.backgroundColor = .systemBackground

Triggering UIRefreshControl selector without UIScrollView animation lag

let tableView = UITableView()
tableView.refreshControl = refreshControl
let tableView = UITableView()
tableView.addSubview(refreshControl)

Conclusion

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Docker VS Kubernetes: What’s The Difference?

OpenSSL and Secrets in Kubernetes

Aside for Widgets

# MBL: Meta Bunny Legends (http://metabunnylegends.io) will release 3333 NFTs on April 15th.

Self Driving Cars & The Apollo Framework

Deploy Your Analytics as Web Apps Using PixieDust’s 1.1 Release

Odoo-WhatsApp Integration! A boon for business communication

Hiring a software development company or an in-house team — Which is better?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ace Rodstin

Ace Rodstin

More from Medium

Crowdin CDN— streamline the localization process (iOS)

Swift — Cocoapods Usage

Every iOS developer should know these Xcode tricks

Create Your Own UIActivityIndicatorView in iOS using Swift