当前,我在故事板上有2个UIImageView并且尝试调整其中一个的大小时,会发生此错误,而另一个会消失吗?
I also encounter this. I just manually adjust my UIImageView
dimensions in Size inspector to prevent this from happening. Major Xcode 6.1 bug I think.
It also happens with other interface builder elements ie UILabel
, UITextView
, UIButton
, etc. The glitch is only UIImageViews
are the ones that resizes to 0,0,0,0. I wonder if Apple fixed this with Xcode 6.1.1 GM seed.
This happens when the image view hasn't been given any auto layout constraints. Super annoying.
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.