简体   繁体   中英

Add multiple UITableViews inside UITableViewCell

I want to add a tabs pager view with 5 tabs and each tab contain uitableview as subview on uitableviewcell . The problem at the height of each uitableview , I should update the cell height every the user swipe or press on any tab and reload the tableview each time . Is it correct ? . Sometimes, the view is hanged . So Is there any solution for this problem .

在此处输入图片说明

Thank you,

Nada Gamal

Looks like the architecture of the app is a bit off. You sure should avoid such a deep nesting of tableViews within tableViews. There are multiple & excellent native UI alternatives like a StackViews or traditional UIScrollViews, Collection Views that you should consider utilizing.
Such a hierarchy of tableViews is definitely not recommended & you should evaluate alternate implementation strategies rather than waste valuable time debugging this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM