Tagged Questions
4
votes
0answers
39 views
Why am I getting a “Auto Layout still required after executing -layoutSubviews” error every time my app launches now?
Since I added the following code, every time my app opens this UITableViewController it crashes:
self.noArticlesView = [[UIView alloc] init];
...
0
votes
1answer
78 views
Using Constraints To Keep Two TableViews The Same Height & The Same Distance Apart
Context / What I'd Like to Do
I'm building this for iOS 7
I'm using a StoryBoard
I have two UITableViews, that I'd like to keep the same height and
distance apart, to retain visual consistency ...
1
vote
2answers
131 views
Rearranging Cell Subviews When UITableViewCell Resizes
I have a UITableViewCell that is implemented using storyboard that looks like:
Here is what the cell should look like without an image:
I have been fiddling with the constraints and banging my ...
1
vote
4answers
138 views
UITableView dynamic size
In my main view I have a header (label) and footer (button). In the middle there is a table. Table takes data from MutableArray so number of table items is different each time.
Before and behind a ...
0
votes
1answer
27 views
Table View moves around after reorientation
I'm using autolayout and i've set the options leading space to superview (constant 0), trailing space to superview (constant 0) and center horizontally to supeview in a table view.
Even though, when ...
3
votes
2answers
3k views
iOS Auto-Layout: Dynamic height for table view cell
I have a table view with a bunch of cells (custom cell, which only has its content view).
In tableView:cellForRowAtIndexPath: I'm adding a predefined UIView (which has several subviews) to the ...
3
votes
3answers
670 views
How is it possible that UITableViewCellContentView height is different from heightForRowAtIndexPath:
I'm facing a really weird problem on my UITableView.
I have some different cells that I want to display on a newsfeed-like table view.
And I have a problem with a cell after reuse.
The cell contains ...
2
votes
1answer
621 views
Use NSLayoutConstraints in iOS6 to make a UITableView's footer, stick to the bottom of the last section and to the bottom of the UIScrollView?
In Interface Builder, when working with a UITableViewController's table footer view, to which I added a blank view, it seems impossible to add constraints directly to it.
When I select the footer ...
2
votes
1answer
605 views
NSLayoutConstraint and dynamic UITableViewCell height
How to write (or do in IB) layout constraints for dynamic tableViewCell height? For example if there is textView (sized to fit) in contenView of cell and I want to cell to be as high as label.