Since we do not have control on the animation call when push/pop occur (even by subclassing UINavigationController) we can't use the .allowUserInteraction option of UIView.animate methods.
But after looking at the private headers, I see that Apple did think of this use case (since at least iOS 8) by providing a private API as well as private flag (allowUserInteractionDuringTransition). So there must be a way to allow the navigation controller to allow for user interactions.
How though ??
from Allow user interaction during UINavigationController push/pop transition
No comments:
Post a Comment