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.
|