Override -viewDidAppear:
, not -viewWillAppear
, and make sure to call [super viewDidAppear:]
. You should not perform animations when you are not on screen (“will appear”). And the -viewDidAppear:
docs explain that you must call super
because they have their own things to do.