Code breaks in High Sierra Version(10.13) for Xamarin Mac

mgaurmgaur INMember

My xamarin for MAC project is working file in lower version of mac but its not working in High Sierra Version(10.13)

Answers

  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    You would need to provide a significant amount of information for someone to be able to help here:

    • What error message if any?
    • What stack trace if any?
    • What is the bad behavior?
    • What have you tried so far?
  • mgaurmgaur INMember

    On runtime I am changing main window in mac app . its working fine in lower version of mac but in high sierra, window.ContentViewController is always null.

  • JGoldbergerJGoldberger USMember, Forum Administrator, Xamarin Team, University Xamurai

    @mgaur

    We would still need more context here. Can you share the code you are using to switch the main window? Or better yet a small test project that shows the issue?

  • mgaurmgaur INMember
    edited November 2017

    This is the code i am using to change main window

    UserListWinowController listUserWindowController = Utility.GetuserListWindowController();
    listUserWindowController.ContentViewController = assignDeviceVC;

    here ContentViewController is always null in high sierra.

  • mgaurmgaur INMember

    Thanks Everyone. I solved my issue by changing code.

Sign In or Register to comment.