[英]UIImageView going to top left of cell when setting width and height constraints.
I'm setting 50 / 50 for width and height and trying to set it ten from the top and ten from the left side, but when I run the app the view gets pushed all the way to the top left. 我将宽度和高度设置为50/50,并尝试将其从顶部设置为10,从左侧设置为10,但是当我运行该应用程序时,视图会一直推到左上方。
I've completely removed all restraints and started from scratch on the tableview, and it's still a problem. 我已经完全删除了所有限制,并从头开始在tableview上,这仍然是一个问题。
Never had this problem before, any ideas? 以前从未遇到过这个问题,有什么想法吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.