为什么不图像显示在iOS7中心

问题描述:

UIImageView不会在iOS7中心显示,但它在StoryBoard设计正确显示为什么不图像显示在iOS7中心

为什么它的到来就像

我不使用AutoLayout

enter image description here

Setting Image

enter image description here

Storyboard image

enter image description here

output image

enter image description here

看到模拟器时间在图像上

+3

可能是自动布局问题 –

+0

我想你已经设置自动布局或ImageView的,而不是为标签的限制。请检查.. – Ashutosh

+0

尝试重置自动布局约束 – WolfLink

选择两个UIImageViewUILabelstoryboard

enter image description here

做到这一点,如果你不使用auotlayout那么你需要AutoSizing在尺寸检查员。选择您UILabel做这个 -

enter image description here

+0

我不使用自动布局 – codercat

+0

现在看到我已编辑的答案。 –

+0

什么都没发生.. – codercat