Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 11-05-2009, 12:34 AM   #1 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 98
Default newbie having simulator alignment problem

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.
Attached Images
File Type: jpg Screen shot 2009-11-05 at 12.14.08 AM.jpg (16.2 KB, 1 views)

Last edited by veeplus; 11-05-2009 at 09:12 AM.
veeplus is offline   Reply With Quote
Old 11-05-2009, 09:13 AM   #2 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 98
Default

bump because of the edit
veeplus is offline   Reply With Quote
Old 11-05-2009, 10:54 AM   #3 (permalink)
Support Female Indie-Devs
 
sarahconnor's Avatar
 
Join Date: Apr 2009
Location: Austin
Posts: 197
Lightbulb

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
__________________
Follow us on Twitter @mandylowry or @blackhivemedia
http://www.blackhivemedia.com/arcadejumper.html
sarahconnor is offline   Reply With Quote
Old 11-05-2009, 03:18 PM   #4 (permalink)
jsd
at this moment
 
Join Date: Mar 2009
Location: San Francisco, CA
Posts: 900
Default

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.
jsd is offline   Reply With Quote
Old 11-06-2009, 12:59 PM   #5 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 98
Default

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.
veeplus is offline   Reply With Quote
Old 02-12-2010, 07:20 PM   #6 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 1
Default

I am having the same issue still after looking at the ideas here. Does anybody have any advice?

In interface builder:
http://i49.tinypic.com/fc5hsh.jpg

In iPhone Simulator:
http://i48.tinypic.com/2a4w9ap.jpg
Yittrium39 is offline   Reply With Quote
Old 05-23-2010, 02:12 PM   #7 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 2
Default interface builder issue

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



Quote:
Originally Posted by Yittrium39 View Post
I am having the same issue still after looking at the ideas here. Does anybody have any advice?

In interface builder:
http://i49.tinypic.com/fc5hsh.jpg

In iPhone Simulator:
http://i48.tinypic.com/2a4w9ap.jpg
DigitalGorilla is offline   Reply With Quote
Old 02-03-2011, 02:02 PM   #8 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 5
Default

Quote:
Originally Posted by DigitalGorilla View Post
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.
vatbrat is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 253
22 members and 231 guests
@sandris, ADY, bookesp, ckgni, dacapo, Dani77, DarkAn, Davey555, Desert Diva, HemiMG, iDifferent, jakerocheleau, JasonR, LEARN2MAKE, prchn4christ, Rudy, ryantcb, Speed, themathminister, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,766
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:42 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0