ios - UIScrollView contentSize change changes contentOffset -


I have seen many solutions here for this problem, but none of them works for me here some of my code :

  - (zero) table view: (UITableView *) tableview was done by SelectionRowAtIndexPath: (NSIndexPath *) indexPath scrollOffset = scrollView.contentOffset; [ExtensionsviewReload Data]; // contentSize has now been changed [scrollView setContentOffset: scrollOffset animated: yes];   

Even though I can see with the NSLog statement that the content offset is set correctly at this point, this content does not display according to the offset, it jumps elsewhere why this is happening And how can I fix it?

to:

Important: You should not embed UIWebView or UITableView objects in the UIScrollView object. If you do this, then unexpected behavior can be a result, because touch events can be mixed for two objects and can be handled incorrectly.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -