I added a few public accessors to the Game class to access some important feature of the operative system required to add advertising,sharing and more to a fork of the Mono git repository.
Is there a way to access such important instances from the official monogame branch?
IIRC it is something like:
game.Services.GetService(typeof(UIViewController)) as UIViewController;
Taken from http://stackoverflow.com/questions/23463085/switching-between-monogame-and-uikit
And Activity on Android is Game.Activity or something?
That’s cool, i’ll definitely try that ! Didn’t know the Services had that feature…