ODRefreshControl icon indicating copy to clipboard operation
ODRefreshControl copied to clipboard

2.0 Control below section header

Open CyberMew opened this issue 10 years ago • 5 comments

The control is appearing below the section header when it isn't displayed yet, so it appears to be appearing out of nowhere in the table

CyberMew avatar Apr 16 '15 03:04 CyberMew

Do you have a screenshot / sample code? It seems working here...

ios simulator screen shot 16 apr 2015 16 53 57 ios simulator screen shot 16 apr 2015 16 53 55

Sephiroth87 avatar Apr 16 '15 16:04 Sephiroth87

screen shot 2015-04-17 at 10 52 33 am numberOfSections method is returning 0

CyberMew avatar Apr 17 '15 02:04 CyberMew

Upon further checking it seems like everything is correct except for the visual starting point of the blob. If it is shifted up, then it's correct.

CyberMew avatar Apr 17 '15 02:04 CyberMew

I get this issue as well. It looks like it's insetting the little refresh indicator by the height of the navigation bar. If I change the navigationBarInset method in ODRefreshControl.m to always return 0 it fixes the problem. My app doesn't target iOS 7, so I can't test on that, but it may come down to a difference between how iOS7 and 8 do layout.

michaelnew avatar May 29 '15 19:05 michaelnew

@mikenew12 sorry for the late reply, but would you be able to send me a sample project with the issue? navigationBarInset is supposed to handle the iOS7+ translucent bar which changes the scrollView contentInset, and it should return 0 when that behaviour is disabled...

I haven't been able to replicate this yet, so if you have something it would really help. Thanks

Sephiroth87 avatar Jul 16 '15 11:07 Sephiroth87