1

I'm trying to refresh my views when I go from one to another. I know I should place the refresh code in viewWillAppear but I don't know what code to put.

Could you guys assist me?

Thanks!

K.Honda
  • 3,106
  • 5
  • 26
  • 37

1 Answers1

3

On your view, call setNeedsDisplay. Usually though views are marked as needing to be redrawn automatically, so if this isn't solving your problem you might have another issue.

Marc Charbonneau
  • 40,399
  • 3
  • 75
  • 82