UITableView
を使用してiPhoneアプリで作業しています。私のテーブルビューでは、私は複数のセルを持つ複数のセクションがあります。私は各セルのセルの背景色を与えたい。それはeach cell should have different colors
を意味します。iPhoneアプリの各UITableViewCell背景色を変更しますか?
例:20個のセルがある場合は、20個のセルごとに異なるセルの背景色を使用する必要があります。
セルの背景色/画像を各セルに割り当てることができるかどうか教えてください。 これは私に指示してもらえますか?
ありがとうございます。
EDIT
マイTableviewcellの色は、私はこのようなテーブルビューのセルの背景色を与えたい
First Cell background color : white color
Second Cell background color : red color
Third Cell background color : orange color
Fourth cell background color : gray color
Fifth Cell background color : white color
Sixth cell background color : white color
Seventh cell background color : white color
Eight cell background color : gray color
Ninth cell background color : red color
Tenth cell background color : red color
、以下のようになります。その後、UITableViewをリロードしたり、新しく開くと、背景色が変わります。このようにするのを助けてくれますか? iPhoneアプリのテーブルビューで行うことは可能ですか?
ありがとうございます。
http://stackoverflow.com/questions/281515/how-to-customize-the-background-color-of-a-uitableviewcellの可能な複製 –