を使用してiPhoneアプリで作業していUITableView
ます。私のテーブルビューには、複数のセルを持つ複数のセクションがあります。各セルのセルの背景色を指定したい。つまりeach cell should have different colors
。
例: 20 個のセルがある場合、20 個のセルごとに異なるセルの背景色が必要です。
各セルにセルの背景色/画像を与えることが可能かどうか教えてください。これを行うように私を案内してもらえますか?
前もって感謝します。
編集
私の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アプリのテーブルビューでできますか?
前もって感謝します。