What am I doing wrong?
I have 2 tableViewControllers. One of them works fine. When I do a search the result is displayed with the accessory button on the right, and the prepareForSegue works well.
But the other tableViewController is exactly the same as the first one. The search works fine but doesn’t display the accessory button, and the prepareForSegue is not fired.
Can’t figure out what is missing.
I did a workaround like this:
I still don’t get it why prepareForSeque doesn’t fire for searchDisplay tableview.