I have a UITableViewCell in the Interface Builder and have added a label in it. The label has 3 constraints: leading, trailing and top. The bottom one is to a button, but I don't think it's relevant for the question.
The problem is that, even though the leading, trailing and top constraint have the same constant, there seems to be an inherent inset or padding in the leading part. This can be seen in this image:
How can I remove it? Or how can I at least replicate it for the top and trailing constraints?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.