hi i am new to iphone/ipad programming .This program i will be doing for ipad so i wanted help My question is by clicking a button can date picker appear and the when the date is chosen , i want it to be stored in a text field , or is it better to insert a calender instead of date picker ? If so how can i add a normal calender and how to code it
what changes should i do in a nib file ?? will the date will be shown in the text field ?? shouldnt there be a UITextField ??
You would create an IBAction for your button to call to show the UIDatePicker. Then implement the UIDatePicker delegate methods and set the text of your label.
In your header file:
In your implementation file
//Later when you need to, just call removeFromSuperView to remove it.