'initWithFrame:reuseIdentifier:' is deprecated
523 ワード
iOS 3.0以降のバージョンでは、このような構文は使用されなくなりました.解決策は次のとおりです.
次のように変更します.
参照:http://forums.macrumors.com/archive/index.php/t-1239790.html
cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
次のように変更します.
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
参照:http://forums.macrumors.com/archive/index.php/t-1239790.html