Another thing I noticed while polishing up Belt Runner is that even though I had the screen rotation locked in landscape, I would see a funny rectangular window border rotating when I got around max tilt. I was a bit confused as I never had this problem when developing on Unity iPhone 1.7. It turned out that I also needed to lock the keyboard rotation, as it’s apparently neither tied to, nor inherits from general rotation. To do this just set all the keyboard auto rotation values to false (i.e. Do this with all four modes: iPhoneKeyboard.autorotateToPortrait = false; ). Oddly, this only happened on my iPod 2G and 4G, but not on my iPhone 1G.
Thats pretty weird, it’ should’t happen if you have the keyboard locked. What version of unity are you using?
This might help you get rid the border,
http://forum.unity3d.com/threads/88663-somewhat-easy-fix-for-rotating-black-screen-(iPhoneKeyboard-rotation)
Pete.
Yep that gets rid of it.
Thanks for the assist, guys, but like I said, I’d already figured it out. I was just posting it for others in case they had the same problem. ![]()