i'm very new to iphone programming so i just did the "your first iphone application" tutorial from the apple website. i'm pretty sure i did everything like it said, yet when i run it in the simulator, it comes out unaligned. i attached a picture to this post. does anyone know why this might be happening?
edit: the picture link isn't working for me, so maybe it's not working for others. let me try to explain what's happening. there's a white bar at the bottom, and the top is cut off. it appears that the whole screen/view was pushed up in the simulator window.
I can't see the pic...but i THINK i know what the prob is...look in IB to see if your views are 320 by 460 (which is default) or if it is 320by 480. You can hit ctl 3 to pull up the measurements tab. Make sure all of them are set right...Hope this helps
When you create a view in interface builder, you can set the "simulated user interface elements" to add a status bar, navigation bar, toolbar, etc. If you do this consistently, it should look right on the phone/simulator.
it was set at 460 instead of 480, but when i changed it, the bottom white bar filled up with the background color, but the whole view was still pushed up, so the top was cut off.
i tried turning on and off the simulated user interface elements, but nothing fixed the alignment.
Did you ever find out how to get rid of that white bar at the bottom of the simulator? If so, could you tell me how?
Thanks
I see this post was a year ago, but I am dealing with it now. Does anyone have any advice on how to fix this?
I have tried with and without status bars, navigation bars, resizing the view to 480 and 500, and nothing is working. I have 17 View controllers and each one of them seems to be different, even when I orientate the buttons in the seemingly exact coordinates, and all Inspector characters are the same, the Simulator View turns out different. I have been trying to research the problem, but all I have found so far are people that have had this problem but can't find any postings on how to actually fix it.
Also, My View based is not the traditional tabbar app...does that matter?
Thanks for any help you can give.