I’m trying to make this black border go away and have read that it’s related to apple’s onscreen keyboard. So disabling the rotation (on start or awake) should work just fine like this:
public void Awake()
{
iPhoneKeyboard.autorotateToPortrait = false;
iPhoneKeyboard.autorotateToPortraitUpsideDown = false;
iPhoneKeyboard.autorotateToLandscapeRight = false;
iPhoneKeyboard.autorotateToLandscapeLeft = false;
}
And it really works fine, problem is that when my game loads another scene the black border comes back, tried re-disabling it on the new scene’s awake/start and no luck.
I tried making a blank project with 2 scenes and works fine even after loading a scene, only on my main project I’m having this issue.
On my main project I’m using OpenFeint 2.10.1 and Prime31’s Plugin for AdWhirl (not sure if that’s related to the problem), any ideas on what’s going on?