0
好吧,这很奇怪。我从来没有碰到过这样的事情之前:从笔尖第二次加载UIViewController为UIImageView弄脏了框架
我加载我的UIViewController称为LoadVC
这样的:
self.window.rootViewController = [[LoadVC alloc] init];
我第一次这样做,UIImageView的问题是完美的,就像我设置在IB中:
<UIImageView: 0x1ed689c0; frame = (0 -20; 320 480); clipsToBounds = YES; opaque = NO; autoresize = W+RM+H; layer = <CALayer: 0x1ed68a20>>
打算负y偏移。第二次加载此视图控制器时,图像视图变得很疯狂:
<UIImageView: 0x1eda3160; frame = (0 -20; 320 436); clipsToBounds = YES; opaque = NO; autoresize = W+RM+H; layer = <CALayer: 0x1eda28d0>>
wutup with dat?