问题
I built a mobile game with libgdx 1.2.0 and Android works perfectly, but when I run the game on iOS simulator (iPhone 5, iOS 8) , it doesn't draw properly.
It's supposed to draw like this.

But there is a space on the right on iOS simulator. It doesn't fit to the screen.

I'm very new to iOS, so could you tell me where to look at?
EDIT:
According to this issue https://github.com/libgdx/libgdx/issues/2386 it seems I need the latest snapshot to fix this. I don't know how to work with the latest snapshot, so I'll wait for it by released. I'll update this question once I get the new version of libgdx.
回答1:
Okay, newly release of 1.4.1 solved the problem. In case, someone doesn't know how to update libgdx.
- Open build.gradle at an application root.
- Change gdxVersion to '1.4.1'
- Change roboVMVersion to '1.0.0-alpha-04'
I think you should also check https://github.com/libgdx/libgdx/blob/master/CHANGES for roboVM version libgdx uses.
来源:https://stackoverflow.com/questions/26162260/libgdx-powered-ios-game-not-fullscreen-on-ios-simulator