Sunday, October 19, 2014

IOS 8 breaks MonoGame

It seems like IOS 8 breaks the way touches are handled in MonoGame for IOS. After updating the active touch area seems to be flipped in portrait mode even though the game is landscape. If you touch the right side of the screen, you'll get this error:

unexpected nil window in _UIApplicationHandleEventFromQueueEvent, _windowServerHitTestWindow: ; layer = >
2

Looking at the frame, it's clearly expecting touch in the bounds of a portrait layout.

The nuget packages are not updated yet. It seems that some work has been done to address this though.

Hopefully the nuget-packages will be updated soon.

Resource