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 06-06-2011, 08:01 AM   #1 (permalink)
Registered Member
 
franium's Avatar
 
Join Date: Nov 2010
Posts: 68
franium is on a distinguished road
Default some questions about uitextview in a uitableviewcell+scrolling

Hi,
I succeed in using a uitextview in a uitableviewcell, with the cell that grows as user enters text.
But I have some related problems or bad effects:

1. When I reload the content of the textview, I have to set the textview content in viewDidAppear, so I see the text appear and, if the text is long, the table scrolling to the end. I wouldn't this scrolling effect.

2. When the user taps a not empty textview, I lose the cursor, because all the tableview scrolls up, resizing itself in height and filling the part not covered by the keyboard (I do this 'cause I've display a label above the keyboard).
How could I scroll to cursor such that it becomes visible?

3. The uitableviewcell grows together with the text. I would to have the text more "centered" in the visible part, that is with at least one empty line under it. In this way, the suggestion bubble doesn't compare above the text but down. Moreover the user don't write near the top margin of the keyboard.
I've tried setting the contentInset or playing with the height, but nothing.

Any suggestion/idea?
Thanks,
Fran
franium is offline   Reply With Quote
Old 06-06-2011, 08:11 AM   #2 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

w\o seeing the code is pretty impossible to reply to you.

But also if you post all the code, is not easy replying w\o take some tries...


However i would start from this project, that seem to be exactly what you want: https://github.com/jacquesf/AutoResi...eTableViewCell
__________________
dany_dev is offline   Reply With Quote
Old 06-06-2011, 08:17 AM   #3 (permalink)
Registered Member
 
franium's Avatar
 
Join Date: Nov 2010
Posts: 68
franium is on a distinguished road
Default

Quote:
Originally Posted by dany_dev View Post
w\o seeing the code is pretty impossible to reply to you.

But also if you post all the code, is not easy replying w\o take some tries...


However i would start from this project, that seem to be exactly what you want: https://github.com/jacquesf/AutoResi...eTableViewCell

Thanks for the reply.
Unfortunately, that project has some scrolling issues too.
franium is offline   Reply With Quote
Reply

Bookmarks

Tags
scrolling, uitableviewcell, uitextview

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: 319
6 members and 313 guests
chemistry, Dnnake, iOS.Lover, jenniead38, pbart, Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

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