iphone - Tableview bounce back to content offset -


i have tableview pull-to-refresh style textview offset 50px above table. when drag tableview down, textview becomes visible. want make happen when pull far enough, upon releasing, tableview animates position textview visible. essentially, want animate content offset of -50. when try adding: [self.tableview setcontentoffset:cgpointmake(0, -50) animated:yes]; - (void)scrollviewdidenddragging:(uiscrollview *)scrollview willdecelerate:(bool)decelerate delegate method, table seems jump before returning it's original content offset of 0,0. know how can fix this?

thanks,


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -