I want to make an application with an UI looks like apple podcast application.
There are 2 parts on this UIViewController
:
tableview
with refreshcontrol
This is this last point my problem: refreshcontrol
. I found a previous SO solution, but adding refreshcontrol
directly on my view breaks all cells and table styles.
Do you know how can I make a view with these traits: fixed part
, refreshcontrol
and tableview
?
You can use UIViewController
containment.
You can have a parent view controller that includes the a view for the fixed part at the top, and a UITableView
at the bottom.
For the UITableView
you can contain a UITableViewController
as a child view controller, so you can use the UIRefreshControl
as intended.