The app crashes when calling transition for view controllers.

Change ModalViewController-iPad to ModalViewController~iPad to avoid crashing when calling transition for view controllers.