How to change views on Xamarin.Mac

Hi, I have implemented a splitview controller with table view at the left splitviewitem and content view at the right splitviewitem. How to change the views in the right splitviewitem of the window when a table cell is selected ?

Answers

  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    I believe you would need to do the following:

    • Use the appropriate API to receive notification events on table view cell selection
    • Determine what view to show in the other split view pane
    • Find the old view and remove it from superview
    • Add the new view in the split view

    I don't think there is built in support for this, so you'd be doing view management yourself.

Sign In or Register to comment.