subinspathilettu / SJSegmentedViewController

MIT License
334 stars 126 forks source link

Unable to hide Refreshcontrol #50

Closed ashishj-optimus closed 7 years ago

ashishj-optimus commented 7 years ago

Is there any way to hide the refresh control when user scrolls tableview.

screen shot 2017-04-14 at 3 12 21 pm

subinspathilettu commented 7 years ago

@ashishj-optimus You can remove refresh control from your view controller. It doesn't have a dependency with SJSegmentedControl. In the demo project, we have added refresh control in the storyboard. If you don't want to show refresh control please remove it from storyboard and check. Also, you can hide the refresh control by setting refreshControl = nil in your controller.