Using Xcode 10.1, I create a tableview on my main storyboard. In the prototype cell, I place a text label. I then create constraints to match it's center with its superview center, both horizontally and vertically. So the label should be centered in the cell. All looks good. When I choose "View as" a different device, it is misaligned horizontally. However when I run in the simulator, it appears to be working OK. Is this an Xcode bug or is there something I'm not understanding about the way interface builder works and displays the label?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):