0

I got an app with big UIScrollView as a root viewController.

This scrollView present some other views through presentViewController or pushViewControler, doesnt matter. But when i going back to scrollView, information, that was presented last time freeze, and i scroll duplicate inforamtion.

enter image description here

How can i clean scrollView?

Eugene Trapeznikov
  • 3,220
  • 6
  • 47
  • 74

2 Answers2

0

Clean scrollView

for([UIView * subview in [scrollView subviews])
{
 [subview removeFromSuperview];
}
0

i solve this problem.

My scroll drawing everytime when view appear.

Eugene Trapeznikov
  • 3,220
  • 6
  • 47
  • 74