Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「基本的な」テーブルビューセルがあり、画像を設定したい:
[cell.imageView setImageWithURL:urlOfAvatar placeholderImage:[UIImage imageNamed:@"none40"]];
残念ながら、その結果、セルに対して画像が大きすぎます。これを正しく見せることは可能ですか?
UITableViewCell を継承するカスタマイズされたセルを作成し、layoutSubViews をオーバーライドします。</p>
方法: https://stackoverflow.com/a/4866205/946434