Advertise here

Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

trying to display the time selected

jarvjarv Posts: 210Registered Users @ @
I have added a label and a UI time picker to my view controller

so my code currently reads:
class setAlarm : UIViewController {
    @IBOutlet var timePicker: UIDatePicker!
    @IBOutlet var timeSelected: UILabel!
    override func viewDidLoad() {
    func setDateAndTime() {


not sure what I need to do next to get the time out and display it in the label, please help


Sign In or Register to comment.