[英]How to implement UICollectionView into UITableviewCell using swift either add tableview horizontally?
Hello I have tried to use UICollectionView into UITableViewCell but it didn't work, I have to show in each UITableViewCell by adding dynamically multiple views but it scroll horizontally. 您好,我尝试过将UICollectionView应用于UITableViewCell,但没有用,我必须通过动态添加多个视图在每个UITableViewCell中进行显示,但它必须水平滚动。 Please help me I am beginner in swift.
请帮助我,我是新手。
Thanks in advance 提前致谢
I think you are looking for a horizontal picker view. 我认为您正在寻找水平选择器视图。 Try this AKPickerView
试试这个AKPickerView
You have to take tableview and take tableviewcell in the tableview. 您必须使用tableview并在tableview中使用tableviewcell。 After this you have to take collectionview in tableviewcell.
之后,您必须在tableviewcell中使用collectionview。 If you manage this in proper way you can get your answer.If not you can refer my code from below link.I set my code in tester.zip.You can download this from below link.
如果您以正确的方式进行管理,您将得到答案。否则,您可以从下面的链接中引用我的代码。我在tester.zip中设置了我的代码。您可以从下面的链接中下载该代码。 https://github.com/Mirant123/MIke/commit/91226c72f3f88b3201803e6b607f77f749c8b413
https://github.com/Mirant123/MIke/commit/91226c72f3f88b3201803e6b607f77f749c8b413
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.