Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

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