UIlabel gets shrink on scrolling UiTableView

后端 未结 4 1478
天涯浪人
天涯浪人 2020-12-11 08:52

I have two UILabel in side of UICell, which contains dynamic text so i need to resize its frame according to content, for which im using [str

4条回答
  •  有刺的猬
    2020-12-11 09:33

    Instead of doing your own customization. Try with dynamic uitableviewcell height. You will find really usefull & comparatively easier than what you have done.

    You can check it here : http://www.cimgf.com/2009/09/23/uitableviewcell-dynamic-height/ with full of explanation. Enjoy programming.

提交回复
热议问题