Based on my previous question in here . I have two datePicker
let say A and B. I want to set maximum of A is B.date and minimum of B is A.date.
But when i change the B value, the A maximum value still in old B maximum value. I dont have any idea about this.
let date = NSDate()
self.datePickerFrom.maximumDate = date as Date
self.datePickerTo.minimumDate = datePickerFrom.date
Any sugest and answer will helpfull for me. Thanks in Advance.