Sephiroth87 / ODRefreshControl

A pull down to refresh control like the one in Apple's iOS6 Mail App
MIT License
2.15k stars 385 forks source link

damit! I cannot get my ODRefreshControl work properly When My tableview got a contentInsets #70

Open nonstriater opened 10 years ago

nonstriater commented 10 years ago

I try to reRect the ODRefreshControl's rect , but the _activity view always position in the ODRefreshControl view's center

nalexn commented 9 years ago

I'm not sure that I faced the same problem as you, but I've solved mine by setting round values to contentInsets of the tableView. For example instead of float value 5.5 use 6.0. It turned out that under the hood the ODRefreshControl works with floats as with ints and its internal logic breaks because of this.