I have a UITableView i try to add a UIRefreshControl but it's never showen i tried several things
For example :
refreshControl = UIRefreshControl()
refreshControl.attributedTitle = NSAttributedString(string: "")
refreshControl.addTarget(self, action: #selector(EvenementsViewController.refresh(_:)), forControlEvents: UIControlEvents.ValueChanged)
uitableViewAlert!.addSubview(refreshControl) // not required when using UITableViewController
uitableViewAlert!.alwaysBounceVertical = true
but can't see the UIRefreshControl
any help will be appreciated
-------------------Edit --------------------
I finally just find the solution
in xib file, uitableview in scrollview part i check bounces and bounce vertically and now it works. thanks guys for your help