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 03-10-2010, 04:57 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 2
Default UITableView covering up other elements?

I'm writing my first iphone app and through several examples I've got a UITableView which is displaying some records from an sqlite db. I placed the element through IB and then had to set it's height inside of my view controller, in the viewDidLoad method.

While the positioning appears to be working properly, a text field, button and label I originally had on the page are now being covered by a white area. Am I not positioning this table properly?

They're all within the same view - do I need to use multiple views?

See more information with screenshots, and link to code here:
UITableView covering up other elements? - Stack Overflow
botskonet is offline   Reply With Quote
Old 03-10-2010, 06:28 PM   #2 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: I'm a Brit-pat.
Posts: 171
Default

Quote:
Originally Posted by botskonet View Post
I'm writing my first iphone app and through several examples I've got a UITableView which is displaying some records from an sqlite db. I placed the element through IB and then had to set it's height inside of my view controller, in the viewDidLoad method.

While the positioning appears to be working properly, a text field, button and label I originally had on the page are now being covered by a white area. Am I not positioning this table properly?

They're all within the same view - do I need to use multiple views?

See more information with screenshots, and link to code here:
UITableView covering up other elements? - Stack Overflow
You shouldn't need multiple views. Everything should fit on one view. Can you explain how you set up your view?
coulls is offline   Reply With Quote
Old 03-10-2010, 06:57 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 2
Default

Quote:
Originally Posted by coulls View Post
You shouldn't need multiple views. Everything should fit on one view. Can you explain how you set up your view?

I've actually got the code available for review on github:
botskonet's inmyspot at master - GitHub
botskonet is offline   Reply With Quote
Reply

Bookmarks

Tags
uitableview

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
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,765
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:33 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0