Make the GameCenter Integration work when building and running with iOS6 #854

Merged
merged 2 commits into from Oct 18, 2012

Conversation

Projects
None yet
3 participants
Contributor

danzel commented Oct 11, 2012

I finally tried doing GameCenter integration using MonoGame and found it didn't work.
This fixes up the iOS Guide class to work.

Previously this.ParentViewController was always null, so we'd just crash when trying to present.

Contributor

danzel commented Oct 12, 2012

@Nezz did you test gamecenter with your latest changes?
If not could you please test them and see if this is necessary or if I'm just doing something wrong. Thanks!

KonajuGames referenced this pull request Oct 15, 2012

Merged

iOS Orientation fixes #863

Member

Nezz commented Oct 16, 2012

Another good fix. ParentViewController was killed with iOS5 and PresentingViewController isn't initialized yet when the methods are called. Ready for merge.

Member

Nezz commented Oct 16, 2012

Please make the ShouldAutorotate function return the parent's ShouldAutorotate.

Contributor

danzel commented Oct 17, 2012

Done :)
Thanks for the review on these changes.

@KonajuGames KonajuGames added a commit that referenced this pull request Oct 18, 2012

@KonajuGames KonajuGames Merge pull request #854 from danzel/develop3d
Make the GameCenter Integration work when building and running with iOS6
89d3297

@KonajuGames KonajuGames merged commit 89d3297 into MonoGame:develop3d Oct 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment