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:

You can find RMDateSelectionViewController on Github here.
A handy date picker component with a great deal of versatility.
- Open Source: Great Block Based UIAlertView And UIActionSheet Replacement Library
- Open Source Core Data And Network Debugging Tool For iOS Apps
- Open Source iPhone Component For Elegant Sliding Views Inspired By Path 2 And Facebook Apps
- Open Source iOS Component Allows Easy Creation Of Github Debug Issues Within Your App
- UIActionSheet Replacement With Clean Look And Blocks Based Syntax
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.




