セルの自動サイズ変更マスクで柔軟な幅が可能であることを確認しましたが、デバイスを回転させてもセルのサイズが変更されません。
テーブルビューのサイズが変更されていることも確認しました。問題はセルに直接あります。
これは、セルを作成するために使用しているコードです。
if (cell == nil) {
// Load the top-level objects from the custom cell XIB.
NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"MetaTableViewCell" owner:self options:nil];
// Grab a pointer to the first object (presumably the custom cell, as that's all the XIB should contain).
cell = [topLevelObjects objectAtIndex:0];
}
誰かが何が間違っているのか考えられますか?
IB を使用して作成されたセルのサイズは変更されませんか?