Forum Xamarin.Mac

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

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.