ios - Static TableView transparent header -
i want achieve next things in uitableviewcontroller:
- have transparent table header view fixed height.
- have solid colored table footer view (for example white color).
to achieve need set tableviews’ background clearcolor. once set whole tableview backgroundcolor clearcolor header , footer gets transparent, , don’t need footerview transparent.
you may say: use tableview inside uiviewcontroller, can’t it, because i’m using static cells dynamic height, , static tableview never conform uitableviewdatasource protocol (only way change cell heights dynamically), because haven’t got methods tableview(cellforrowatindexpath).
try setting tablefooterview property:
tableview.tablefooterview = uiview() hope helps!

Comments
Post a Comment