Tagged Questions
4
votes
1answer
819 views
Resize subviews in table view when editing using auto layout
I have a table view with prototype cells. Currently I have only added a label to the cell. When enabling edit mode, a delete button will appear animating the cell smaller but the label doesn't ...
3
votes
1answer
215 views
Why does auto layout in table view cells cause the table's content size to be incorrectly changed?
I'm using Xcode 4.6.1 and I have an iOS 6.1 app.
It has a table view that drills down into another table view. The second table view uses custom cells to display its data. However, there is a problem ...
3
votes
2answers
25 views
Stop UITableViewCells from animating when animating a UITableView
I am animating a UITableView. I want the table view to slide open like this:
http://www.youtube.com/watch?v=XIGJLbiRsXE
However, it opens like this:
http://www.youtube.com/watch?v=UJUX-ILCB_0
...
2
votes
2answers
273 views
Autolayout seems not working when changing view dimensions programmatically
I have custom subclass of a UITableViewCell with some constraints set.
Problem is when I try to change size of one view like this:
CGRect frm = CGRectMake(0, 0, someValue, 30);
cell.indentView.frame ...
1
vote
2answers
203 views
CustomCell crash in UItableView [duplicate]
I have been using a customCell.xib with its own customCellClass within a UITableView,which is built without using autoLayout feature(since I need to make it work even on platforms prior to iOS6).
The ...
1
vote
0answers
129 views
UITableViewCells scroll horizontally using auto layout when changing to portrait mode
I am creating a screen that is primarily a UITableView with cells that have differing controls and layouts. I had the tableview working great until I switched to portrait mode where it allowed the ...
1
vote
2answers
241 views
AutoLayout and UITableViewCell prototypes in Interface Builder
I have a UITableViewCell subclass and after turning on Auto Layout I now get this error :
2013-01-29 15:46:15.555 iP2[6690:907] *** Assertion failure in -[MenuTableViewCell layoutSublayersOfLayer:], ...
1
vote
0answers
172 views
UILabel is resizing on swipe to left (using autolayout and code)
I'm having this weird resizing when I swipe to delete a UITableCell subclass (ExpenseCell):
Here's a piece of code I use to resize the UILabels according to their contents:
-(void)layoutSubviews{
...
0
votes
1answer
41 views
Resize UITextView inside a UITableViewCell with iOS Autolayout
My Goal
I'm creating a custom UITableViewCell (MessageCell), and I'd wish to have my UITextView resizing both in width and height whenever the cell changes its size, while keeping some basic ...
0
votes
1answer
243 views
Static UITableView on iPhone 5
The main screen of my app is a static table view with some options. With the new iPhone 5 I have to deal with an extra space on the bottom of the screen: I would like to increase the height of the ...
0
votes
1answer
76 views
where to create autolayout constraints for subclassed uitableviewcell?
I am trying to use autolayout for a uitableviewcell subclass I am creating and I would appreciate some advice on what method to put the layout constraint creation code. I have been searching around ...
0
votes
1answer
210 views
TableView Cell contents not shifting in editing mode iOS 6
I have subclass of UITableViewCell. Here is my setup
I have used Autolayout. Now when user swipe on cell , I can see "Delete" button , but it overlaps my right side imageview. Cell contents are not ...
0
votes
1answer
73 views
TableViewCell “Will NOT” indent in editing mode?
I am working on an iOS6 build in Xcode (newest version) while in Interface Builder I have created a custom cell with just a few labels for now. I am wanting the labels to "indent" instead of getting ...
0
votes
0answers
126 views
subclassing UITableViewCell, horizontal constraints to cell edge not working
I've created a subclass to UITableViewCell. It loads a .xib that contains various items (Imageview, button, several labels). The ImageView, button, and one label have horizontal constraints set ...
0
votes
0answers
358 views
Auto layout of custom programmatic UITableViewCell fails upon scrolling
I'm trying to use the new auto layout capability of iOS 6 on a custom UITableViewCell which has been implemented programmatically. I added the addConstraint calls, and it works properly at first-- ...