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 08-12-2010, 09:12 PM   #1 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 11
pacman6642 is on a distinguished road
Default Collapsing and Expanding Itmes on screen.

Hello,
I am having an issue trying to come up with a way to achieve a certain functionality. The app I am currently working (for iPad) on needs to ask a series of yes/no questions from the user. Some of those questions, when answered yes, will also require the user to fill out more information. Right now I have the set of questions split up between two views. However, if a users selects enough 'yes' answers they amount of information they are going to have to fill out will require more space that what is available on screen.

What I am trying to do is have areas on screen that will 'expand' if the user selects yes and in that area will be the textfields for them to enter in further information. Since I haven't been able to find anything like that in the SDK the solution that I am mulling around in my head is to put all of my labels and other items on a scroll view. Then if the user selects 'yes' I having a function that runs a loops based on the amount of space I need which will expand the scroll area of the scrollview while adding in the textFields I need.

So my main question is does that method sound viable or has anyone come across a better way to do this.
pacman6642 is offline   Reply With Quote
Reply

Bookmarks

Tags
collapse, expand, scrollview

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: 351
5 members and 346 guests
bignoggins, Chickenrig, givensur, linkmx, PlutoPrime
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,894
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

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