如何在 iPhone 的表格视图单元格中设置背景图像
我想为单元格设置背景图像。我已经为表格视图中的单元格设置了背景图像。但我想在表视图单元格中设置两个图像作为背景图像。我想为背景设置备用单元格,
例如,
Image1- Cell 1, Cell 3, Cell 5, Etc.,
Imgae-2- Cell 2, Cell 4,Cell 6, Etc.,
请指导我并给我一些示例链接。
谢谢!
I want set the background image for cell. I have already set the background images for the cells in the table view. But I want to set the two images for the background images in the table view cell. I want to set the alternate cells for the background,
Like,
Image1- Cell 1, Cell 3, Cell 5, Etc.,
Imgae-2- Cell 2, Cell 4,Cell 6, Etc.,
Please guide me and give me some sample links.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以为偶数/不均匀行设置两个不同的单元格,如下所示
(但未测试)
You can setup two different cells for even/uneven rows like below
(not tested though)