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 Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-04-2011, 05:45 AM   #1 (permalink)
Registered Member
 
Join Date: Sep 2010
Location: New Zealand
Posts: 49
jvpython is on a distinguished road
Send a message via Skype™ to jvpython
Post Cell keeps hiding itself

I have a bit of code that resizes a tableview on user interaction by changing the height value of the UITableView frame (CGRect). But after that even though it works fine when I scroll, whenever I tap the last row or if the last row is visible when I tap a cell, the table auto scrolls down and the last row is hidden. What is causing that? Thanks
jvpython is offline   Reply With Quote
Old 09-04-2011, 10:33 AM   #2 (permalink)
Rko
Registered Member
 
Join Date: Jun 2010
Posts: 63
Rko is on a distinguished road
Default

Quote:
Originally Posted by jvpython View Post
I have a bit of code that resizes a tableview on user interaction by changing the height value of the UITableView frame (CGRect). But after that even though it works fine when I scroll, whenever I tap the last row or if the last row is visible when I tap a cell, the table auto scrolls down and the last row is hidden. What is causing that? Thanks
not sure if I understood ur question right, but if i m not wrong, you should be looking at contentSize. This is in case of UIScrollView.
OR
Maybe, your TableView frame is beyond the screen size. (in Height i mean)
Rko is offline   Reply With Quote
Old 09-04-2011, 11:54 PM   #3 (permalink)
Registered Member
 
Join Date: Sep 2010
Location: New Zealand
Posts: 49
jvpython is on a distinguished road
Send a message via Skype™ to jvpython
Default

I have checked and it seems my contentSize is ok. The dimensions are correct. I had a look in slow motion at what was going on and here is what I saw. When I select a table cell if some of the last row is visible the table will look like it is shrinking for a fraction of a second then it expands and that last row becomes hidden and I need to scroll bcd up to see it...
jvpython is offline   Reply With Quote
Reply

Bookmarks

Tags
uitableview, uitableviewcell

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: 380
6 members and 374 guests
JackReidy, jeroenkeij, Sami Gh, tim0504, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,671
Threads: 94,121
Posts: 402,903
Top Poster: BrianSlick (7,990)
Welcome to our newest member, JackReidy
Powered by vBadvanced CMPS v3.1.0

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