ios - In table view I want to add a view its height should be dynamic according to cell height -
in uitableview
adding uiview
, it's height should dynamic according cell height, problem facing is not accurate. height of uiview
not varying correctly cell , calculated again , again on table reloading.
when load data, can calculate each cell's height, , store them in array, can use frame array setup uiview's frame
Comments
Post a Comment