Is there a way to adjust a UIModalTransitionStyle speed/duration?
-
26-02-2021 - |
Question
I want to use UIModalTransitionStyleFlipHorizontal
, but just have it happen a bit quicker.
Is this possible?
Solution
Try this class method instead:
[UIView transitionFromView:self.view
toView:newView.view
duration:0.1f
options:UIViewAnimationOptionTransitionFlipFromLeft
completion:nil];
Ps:the options is: UIViewAnimationOptionTransitionFlipFromLeft
not UIViewAnimationTransitionFlipFromLeft
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow