Is there a way to adjust a UIModalTransitionStyle speed/duration?

1k Views Asked by At

I want to use UIModalTransitionStyleFlipHorizontal, but just have it happen a bit quicker.

Is this possible?

1

There are 1 best solutions below

0
On BEST ANSWER

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