1

Since updating to the latest version of XCode (8.2 beta) I now have two problems (both only occur in the simulator, not when I run my app on my actual iPad).

1) When I rotate the screen in the simulator I get a ~5 second animation of the entire screen rotating, along with the following warning in the console:

[App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction

2) When I click on a button which bring a popover view (the same problem to both popover views in my app), it adds a strange quick animation with a "flash" of white at the end, and when I close the popover view it fades it's opacity with a 5 second animation with the following console warning

[Warning] <_UIPopoverBackgroundVisualEffectView 0x7fa57c2274a0> is being asked to animate its opacity. This will cause the effect to appear broken until opacity returns to 1.

There is also a 5 second opacity fade animation of the main screen of the app itself when it first boots.

I've read and tried other solutions to these problems on here, but none of the ones I've found help...

Any help would be greatly appreciated!

PlateReverb
  • 654
  • 1
  • 7
  • 21

1 Answers1

1

1a) Slow animation

The slow rotation animation is a feature in the simulator which you seem to have activated accidentally. You can disable it with:

Simulator Debug menu -> Slow animation:

1b) Warning

See this question.

2)

Do not animate opacity. Instead animate the alpha value(s).

Community
  • 1
  • 1
shallowThought
  • 19,212
  • 9
  • 65
  • 112
  • I read and tried that before I posted my question. That solution did not work for me. Also, it does not address the 1st half of my question. Both of these unwanted animations started appearing in my iOS Simulator runs only after updating to the latest version of XCode... – PlateReverb Nov 28 '16 at 18:57
  • I will post a new question for this... because I just realized it has nothing to do with my project, the simulator causes the rotation animation (very slowly) even with no project loaded. – PlateReverb Dec 28 '16 at 19:48
  • Updated answer. – shallowThought Dec 29 '16 at 09:51
  • Only part 1a of this answer applied to my problem, but that was the correct answer. I must have accidentally hit "CMD+T" in simulator around the time I updated XCode... – PlateReverb Dec 29 '16 at 20:20