Wednesday, 18 September 2013

xcode Interface Builder is resizing back to a wrong size a UITableViewCell

xcode Interface Builder is resizing back to a wrong size a UITableViewCell

I have a UITableView with 2 different xib files, the first one for iPhone,
the second one for iPad, then I have for both a xib for the custom Cell,
the iPhone version works well, the iPad version (which is bigger) is
automatically resize itself to 320 width, Inside I have a UILabel that
needs to show text in 2 lines, when I set the 2 lines on Interface Builder
even if I had the cell size to 600 for example, it is automatically
resized back to 320
I've setted the class and the names are correct, I don't understand which
relationship there's between the first xib (the iPhone custom cell) and
the second (the iPad custom cell which is resized back to 320)
any advice?

No comments:

Post a Comment