Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Date Picker for iPhone Web Application

What is best way to show Date Picker for iPhone based Web Application. Can we show something like iPhone native date picker like shown below in web application:

iOS Date Picker

like image 752
Ramesh Soni Avatar asked Dec 23 '08 12:12

Ramesh Soni


People also ask

How do I use DatePicker in SwiftUI?

SwiftUI's DatePicker view is analogous to UIDatePicker , and comes with a variety options for controlling how it looks and works. Like all controls that store values, it does need to be bound to some sort of state in your app. You can see I've set displayedComponents to . date , but you could also use .

How do I add date and time picker?

To insert it in your sheet, just do the following: Go to the Developer tab > Controls group, click Insert, and then click the More Controls button under ActiveX Controls. In the More Controls dialog window, find the Microsoft Date and Time Picker Control 6.0 (SP6), select it, and click OK.

What is a picker UX?

Date picker is a terminology widely used in the context of app UI/UX. This is defined as an input field that allows a user to choose a date via text input or app interaction with a calendar interface.


1 Answers

The easiest way (and arguably the best way) is to use safari's built in datepicker for your input box using HTML5 type="date"

<input type="date" /> 
like image 91
Kyle Avatar answered Sep 20 '22 04:09

Kyle