How can I change the modal transition of a presented view controller?

In iOS the default transition between presenting view controller and presented view controller is .CoverVertical. But sometimes you might want to change it to a different animation style.

If you setup a presented view controller , it has a property which calls modalTransitionStyle and you can choose one of styles below,

  • CoverVerticial (Default)
  • FlipHorizontal
  • CrossDissolve
  • PartialCurl

Leave a Reply