ios - UITableView dragging distance with UIRefreshControl -


i'm having trouble on implementing uirefreshcontrol on uitableview.

everything working fine except fact have scroll 80% of screen uirefreshcontrol triggered. i'm not able trigger since there tab bar on bottom of screen, cancels scrolling movement when finger reaches it.

i've looked @ other apps, namely apple's 'mail', uirefreshcontrol triggered after scrolling 30% of screen.

what missing? need on one!

thanks in advance

i had similar problem , it's quite possible that's same cause you. me happens hided scroll indicator making me unable see obvious cause of problem: uiscrollview's height greater superview...

double check uiscrollview's height because "dragging distance" it's percentage of height. same goes uitableview too, since it's child class of uiscrollview.

edit: seems isn't way reproduce problem, since required drag distance trigger refresher calculated in buggy way. refer this question more info.

but in general happen if uiscrollview's height different parent container (e.g screen itself).


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -