Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 9, 2011, 04:11 PM   #1
mrl72
macrumors regular
 
Join Date: Apr 2008
How do I resize table to fit contents?

I have a UITableView sitting on a view that has cells and rows dynamically created. Since I have a custom background on the view I want the table to automatically resize to fit the content. So for example if I only have 5 rows that take up 1/4 of the screen right now my table is stretching to the bottom of the screen, I really want it to stop after the last row in the table.

I have tried UIViewAutoresizingFlexibleHeight but that didn't seem to do anything.

Cheers.
mrl72 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Pages 5: Multiple indentation in table of contents rekhyt Mac Basics and Help 0 Jan 15, 2014 03:15 PM
Table of Contents finally works properly in the new Pages! JD92 Mac Applications and Mac App Store 1 Oct 24, 2013 11:51 AM
Problem with Table of Contents when Using Bullet Points oggydoggy Mac Applications and Mac App Store 0 Apr 20, 2013 06:34 PM
iBook Author Table of Contents ActonJane Mac Applications and Mac App Store 1 Feb 8, 2013 12:23 PM
iBooks Author Table of Contents Problem djtech42 Mac Applications and Mac App Store 2 Nov 10, 2012 06:39 AM

Forum Jump

All times are GMT -5. The time now is 06:44 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC