Forum Xamarin.iOS

UITableViewSource RowSelected not called

I've created a class derived from UITableViewSource. The table appears and looks correct with all the data. I'm trying to use it as a menu, and have overridden the RowSelected function. However, it doesn't ever get called when I click on it in the simulator. I have the table grouped (so it looks more like a button group). Is there anything I need to do to get it to call the RowSelected function?


  • GlennWilsonGlennWilson USUniversity ✭✭

    Any chance that you are setting:
    TableView.AllowsSelection = false;


  • JaimiMcEntireJaimiMcEntire USMember ✭✭

    Thanks for the hint. I didn't do it in the code, but "Selection" is none in the xib. Fixed and working! Thank you!

Sign In or Register to comment.