UITableViewCell's textfield endediting not calling

484 views Asked by At

UITableViewCell's UITextField's textFieldDidEndEditing not calling

 cell.txtExpenseTitle.delegate = self
    cell.txtExpensePrice.delegate = self
1

There are 1 answers

0
Arjun Yadav On

First, check delegate and then this method calling properly

func textFieldDidEndEditing(textField: UITextField) {
   if textField == txtExpenseTitle {  

    }
   if textField == txtExpensePrice { 

    }
}