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
Post a Comment