Add Monogame View for Xamarin Storyboard for iOS

I'm very used to working with Monogame, but just starting to work in Xamarin. I created a Xamarion iOS project with a storyboard (see. Figure). This works, and I created calls to Segues and web services and that doesn't work so well.

Now to the question. How to add to this the Monogame view? Ideally, I would like to add the Monogame view to the same storyboard that I can just switch to it like all kinds. However, I could not find any tips or advice on how to do this. The guides I have found so far are either talking about storyboards or the Monogame application, not how to use them together.

enter image description here

Refresh . Any answer that shows how to start a Monogame instance in regular storyboard mode, programmatically, and exit back to the storyboard menu is acceptable. This should not be a subview, I'm fine if it accepts the entire screen.

+5
source share
1 answer

It's hard to answer this question better than fooobar.com/questions/968740 / ... ... but to summarize, you probably want MonoGame to β€œlaunch” the application for you, and when you want to use UIKit, you basically either push the user controller UIView stack or show a new UIView on top of the existing monogame screen.

Unfortunately, you will have to change the way MonoGame works if you want to show your MonoGame game after the UIKit controller.

+2
source

All Articles