Here’s a handy little library by Phillip Converset that you can use to add a nice animation effect when presenting a view (UIView) within your app by shrinking and dimming the background.
You can change the background if desired, a nice simple way to draw attention to a specific view.
Here’s an animation from the readme showing the effect in action:
When presenting your view you simply use:
And to dismiss the view use:
You can find ASDepthModalViewController on Github here.
via @romainbriche
Original article: Open Source iOS Library Adding Animations/Depth When Presenting A View
©2012 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.






