https://github.com/hollance/mhsemimodal
Category on UIViewController that makes it easy to present modal view controllers that only partially cover the screen.
https://github.com/hollance/mhsemimodal
Last synced: about 1 month ago
JSON representation
Category on UIViewController that makes it easy to present modal view controllers that only partially cover the screen.
- Host: GitHub
- URL: https://github.com/hollance/mhsemimodal
- Owner: hollance
- Created: 2011-11-23T12:20:41.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-03-31T12:50:12.000Z (about 11 years ago)
- Last Synced: 2023-03-11T06:03:57.165Z (about 2 years ago)
- Language: Objective-C
- Homepage: http://www.hollance.com
- Size: 143 KB
- Stars: 32
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UIViewController+MHSemiModal
This is a category on UIViewController that makes it easy to present modal view controllers that only partially cover the screen.
Instead of:
`[self presentModalViewController:controller animated:YES];`
You now do:
`[self mh_presentSemiModalViewController:controller animated:YES];`
To dismiss the semi-modal view controller, you do:
`[self mh_dismissSemiModalViewController:controller animated:YES];`