I am using EGOTableViewPullRefresh for atable view in my app and it works great. However I would like to be able to have the pull down effect happen on the viewDidAppear for the first load of the screen.
Is there an easy way to simulate the user scrolling the UITableView or to force EGOTableViewPullRefresh to show itself?
This should accomplish what you want, it adds an inset then tells EGO that scrolling just completed. EGO will remove the inset when its finished.
myUITableView.contentInset = UIEdgeInsetsMake(66.0f, 0.0f, 0.0f, 0.0f);
[_refreshHeaderView egoRefreshScrollViewDidEndDragging: myUITableView];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With