Hello,
I've been stuck on this issue for a couple weeks and haven't been able to resolve it. I have an app that has a drink dictionary that is searchable. The app works perfectly fine for selecting a drink normally and the search appears to work great in terms of filtering. However, when you search for a drink and then select one from the search results, it always automatically chooses the first item in the list because the indexpath in the didSelectRowAtIndexPath method always is null.
Here is a link to a stackoverflow post I made about it that has my code.
http://stackoverflow.com/questions/...idselectrowatindexpath-method-when-search-bar
Thank you for looking and I would appreciate any help.
I've been stuck on this issue for a couple weeks and haven't been able to resolve it. I have an app that has a drink dictionary that is searchable. The app works perfectly fine for selecting a drink normally and the search appears to work great in terms of filtering. However, when you search for a drink and then select one from the search results, it always automatically chooses the first item in the list because the indexpath in the didSelectRowAtIndexPath method always is null.
Here is a link to a stackoverflow post I made about it that has my code.
http://stackoverflow.com/questions/...idselectrowatindexpath-method-when-search-bar
Thank you for looking and I would appreciate any help.