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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

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

Reply
 
LinkBack Thread Tools Display Modes
Old 01-18-2012, 09:57 PM   #1 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 12
Zanzibar7 is on a distinguished road
Default my table view gets bigger when i run my app

In interface builder i created a table view and set it's size to 120 by 290, but when i run my application its width jumps from 120 up to something like 160. It's covering up the objects to its left and right.

Can anyone help me figure out why this is happening and how I can fix it?

Extra information: I'm using landscape orientation, no header or footer, I changed the cell height from 44 to 22, i haven't done anything with the table view in code.

Update: i played around with the table's width in interface builder and it seems to want a minimum width of 160, but in a different view i have one set to 120, so i don't know why that's happening.
Also i tried changing the table's size programmatically, and when i ran it, it acted like it was in portrait mode instead of landscape. So my question now is, why does my table seem to think it's in portrait mode instead of landscape and how can i fix that?

Last edited by Zanzibar7; 01-18-2012 at 10:35 PM.
Zanzibar7 is offline   Reply With Quote
Old 01-19-2012, 05:41 PM   #2 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 12
Zanzibar7 is on a distinguished road
Default fixed it

ok so i fixed my problem by putting the uitableview into a uiview within my main view. I don't know why this seems to work, but it looks like it's displaying my table properly.
Zanzibar7 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: 384
8 members and 376 guests
apatsufas, comicool, dansparrow, husthlj, LunarMoon, mer10, Murphy, pbart
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,677
Threads: 94,127
Posts: 402,916
Top Poster: BrianSlick (7,990)
Welcome to our newest member, husthlj
Powered by vBadvanced CMPS v3.1.0

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