forked from ViewDeck/ViewDeck
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ViewDeckController swizzles the 'presentModalViewController:animated:…
…' and '' with its own implementations. These check if a viewdeckcontroller is present on the UIViewcontroller. If it is, it will delegate the presenting of the (modal) view to the viewdeckcontroller instead of the containing controller. This gives better results for rotation and presentation. If no viewdeckcontroller is present, it just uses the standard implementation. This also removes the code introduced by a remark of schemer in issue ViewDeck#28, since it's no longer applicable. I'm not sure if this fixes ViewDeck#16?
- Loading branch information
Showing
1 changed file
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters