Open Source Component Providing A UIDatePicker That Is Presented In A UIActionSheet Manner

The date picker is one of those controls that you’ll often find yourself wanting to place within other views such as action sheets, and popovers, but there are complications.

Here’s a nice custom component from Roland Moers called RMDateSelectionViewController that allows you to present a UIDatePicker that slides out in a UIActionSheet style.

Included are methods for easily showing and dismissing the action sheet with date picker, you can control exactly which view controller the date picker is shown from (so it could be a view other than an action sheet like a popover), and the date picker adjusts automatically for the right orientation.

Here’s an image showing the RMDateSelectionViewController demo in action:
RMDateSelectionViewController

You can find RMDateSelectionViewController on Github here.

A handy date picker component with a great deal of versatility.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source Component Providing A UIDatePicker That Is Presented In A UIActionSheet Manner

©2013 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 *