This line switch (self.driverKnown.selectedSegmentIndex) {
is accessing a property named driverKnown
but that driver is unknown. The stack trace and exception are telling you that driverKnown
is an undeclared or unknock getter method for the property.
The exception calls out DobInAHoonViewController
which in that line of code would be the self. Is driverKnown
suppose to be the name of your UISegmentedControl
? Can we see the creation of said UISegmentedControl
?