起こった現象
xib ファイルからインスタンス化したカスタムな UITableViewHeaderFooterView を表示すると下記のログが出力される。表示に影響はない。
Setting the background color on UITableViewHeaderFooterView has been deprecated. Please use contentView.backgroundColor instead.
解決方法
- xib 上で UITableViewHeaderFooterView のサブクラスを作成したときに backgroundColor が White Color に設定されているので、 default に変更する
- コード上での backgroundColor の設定をやめる