Please help me to get the value of UIDatePicker
to UILabel
on button click for an iPhone application.
Swift 2.0
@IBAction func buttonPressed(sender: AnyObject) {
let date: NSDate = timePicker.date
label.text = date.description
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With