是否可以合并UITableView中的单元格,以便我可以在右侧添加一些图像? [英] Is it possible to merge the cells in a UITableView so that i can add some image at the right side?
本文介绍了是否可以合并UITableView中的单元格,以便我可以在右侧添加一些图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如所见在我附加的设计图像中,我想合并(不知道那个正确的单词)前三个单元格,以便我可以在表格本身的右侧显示图像。有可能吗?
As seen in the image of my design that i have attached, i want to merge(don't know wether thats the correct word) the first three cells so that i can display an image at the right side in the table itself. Is it possible?
推荐答案
实际上,你可以将你的imageView添加为tableView的子视图,这样你的 didSelectRowAtIndexPath :
将照常工作
Actually, you can add your imageView as subview of tableView, so your didSelectRowAtIndexPath:
will working as usual
这篇关于是否可以合并UITableView中的单元格,以便我可以在右侧添加一些图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文