So I'm finally biting the bullet and jumping into the constraint nightmare that is integrating your nibs to ios7. I've managed to get contraints and whatnot figured out, however I'm getting some weird display problem with tableviewcells with custom images. See here:
ios6:
ios7:
Here's my code declaring the bg:
+ (UIImage*)yourTurnCell {
if (sYourTurnCell == nil) {
UIImage *i = [UIImage imageNamed:@"YourTurnCell.png"];
sYourTurnCell = i;
}
return sYourTurnCell;
}
And within my cell structure function:
self.backgroundView = [[UIImageView alloc] initWithImage:
[GameListCell yourTurnCell]];
self.selectedBackgroundView = [[UIImageView alloc]
initWithImage:[GameListCell yourTurnCell]];
Width of the table determines width of the rows, which is done in the nib file.
Anybody have any idea how I fix this problem? Everything is 298px wide, but for some unknown reason on ios6 I'm getting the cells smaller than everything else, even though the images themselves are 298px.