Get Updates By E-mail 

Article Written By:
Johann Dowa

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

 


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments