菜鸟教程小白 发表于 2022-12-11 18:37:44

ios - 当我在 iOS 中滑动进行行操作时,图像来自 UIImageView


                                            <p><p>我在 TableViewCell 中有 UIImageView,并且该 ImageView 定位到该单元格的 superView 。我已经为editActionForRow编写了一个函数来滑动并执行操作,但是当我滑动单元格时,图像会从UIImageView中消失,如下所示。自动布局也设置得很好,没有任何问题,但是当我们进行滑动时这让我头疼。如果有人可以帮忙。谢谢!</p>

<p> <a href="/image/whOn5.png" rel="noreferrer noopener nofollow"><img src="/image/whOn5.png" alt="enter image description here"/></a> </p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>选择 imageview 并转到属性检查器。选中要绑定(bind)的剪辑选项。 </p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 当我在 iOS 中滑动进行行操作时,图像来自 UIImageView,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/41735568/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/41735568/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 当我在 iOS 中滑动进行行操作时,图像来自 UIImageView