Open Source iOS Library Adding Animations/Depth When Presenting A View

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:

ASDepthModal

When presenting your view you simply use:

[ASDepthModalViewController presentView:yourPopupView];

And to dismiss the view use:

[ASDepthModalViewController dismiss];

You can find ASDepthModalViewController on Github here.

via @romainbriche

 

DeliciousTwitterFacebookRedditLinkedInEmail

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.

Leave a Reply

Your email address will not be published. Required fields are marked *