I'm new to iOS development, learning bits and pieces. I've few more queries in continuation to another thread (iOS7: How does Apple make a navigation controller look like a uiactionsheet in the calendar app) on iOS 7 new event creation in default calendar that's shown when we click + on UINavigationBar (I assume).
Does anyone know how to create UIDatePicker so that its displayed/hidden when I click on Start/End date field? I saw one video where UIActionSheet was used in XCode 4.5, but in that user needs to click on Done etc button to hide it. In iOS 7 calendar its hidden when I click outside picker i.e. on Start Date field. I hope question is clear?
Kindly advise how to achieve this feature?
UITableViewController
. When the user taps on the start or end date, it adds a newUITableViewCell
containing theUIDatePicker
. While displaying the date picker, if any other cell in the table is selected, the cell containing the date picker is removed from the table. If you carefully tap on a gray area (i.e., not on a cell), you'll notice the date picker is not removed. – GynaecoUITableViewCell
s using storyboard, each with a unique identifier. – Gynaeco