UIKit animations are stopping Unity animations

I’m using UIKit elements in an app for iPad, specifically a UIScrollView in some popover-lookalike on top of Unity’s GL view.
Now whenever the scrollview animates a page change, all Unity animation is stopped for the duration of the UIKit animation, which is of course unintended.

Not 100% positive on this, but i think this happens only since Unity 3.4.

Might this have to do with how the run loop is handled within AppController.mm?

I hope someone more knowledgeable than me knows how to fix this. Thanks!

fixed:

in AppController.mm, in the startUnity: method, there’s the line:

[_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];

replace “NSDefaultRunLoopMode” with “NSRunLoopCommonModes”.