Reload UIPickerView crash [duplicate]
问题 This question already has an answer here : Reload data and components in UIPickerView (1 answer) Closed 4 years ago . I'm trying to reload UIPickerView , because, when I chose a first item, at the second the placement of the selector don't get back to the first, so I try this: NSNotificationCenter.defaultCenter().addObserver(self, selector: ("updatePicker"), name: UITextFieldTextDidBeginEditingNotification, object: nil) func updatePicker(){ self.pickerView.reloadAllComponents() } But I get an