小编Fra*_*uiz的帖子

UICollectionReusableView Height can't resize when one of its UITextViews grows by more than one line

I am using a UICompositionalLayout to set the layout of my collection view. For the header of each section I am using a UICollectionReusableView, which contains three buttons at the top and two textviews below them. The UI is set up in the following way

当前集合视图的 UI

The user should be able to write some notes in both uitextviews and those views should resize their height according to their intrinsic heights, I have disabled scrolling for both textfields but whenever the user …

ios autolayout uicollectionview uicollectionreusableview swift

5
推荐指数
0
解决办法
239
查看次数