DatePicker:
Conclusion:
If you are interested,you can make an accurate countdown timer app by adding label to display the countdown and a button method that calculates the time left from the selected date.
Date picker is a control used for selecting date,time or both.It provides a straightforward interface for managing date and time,allowing users to select quickly and efficiently. Appearance of date pickers cannot be customised.
Design and Implementation:
1.Declare an instance variable in .h file;
2.Set a frame;
3.set date picker mode to UIdatepickermodedate;
Output for the above code will be
Conclusion:
If you are interested,you can make an accurate countdown timer app by adding label to display the countdown and a button method that calculates the time left from the selected date.
No comments:
Post a Comment