Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I basically want to embed a table view in a more complex view. At the beginning of the table there should be a certain header and below a certain footer. So far I didn't do this with the conventional header/footer of a table but instead put these two sections on my "parent" view surround this embedded table view. So now I want a background image which surrounds the header until and including the footer (and of course with that also the table). I've done the exact thing with a static table using an image view placed on my parent view surround the complete table. But what if I want to embed a dynamic table? Is there any possibility to let this embedded table grow and shrink? So a user doesn't need to scroll the embedded table view, but rather the table view "grows" so no scrolling of the table view itself is necessary but rather the surrounding parent view? And of course with this "growing" table how can I adjust the background image accordingly? The static version looks like this:

enter image description here

share|improve this question
You want the surounding parent view to grow accordingly as the embeded tableview grows? Did you tried to accomplish that with what the UITableView with header/footer/backgroundView offers? – Bernd Rabe 20 hours ago

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.