所以我有一个UITableView
内UIViewController
。如果没有的tableView,模拟器是这样的:
UITableView造成图像放大
然而,当表视图连接它看起来像这样:
与错误:
2015-03-19 02:08:56.086 CPX[55379:5813118] Warning: A long-running operation is being executed on the main thread.
Break on warnBlockingOperationOnMainThread() to debug.
2015-03-19 02:08:56.482 CPX[55379:5813118] Failed to set (autostart) user defined inspected property on (UIView): [<UIView 0x7f8fa8da28c0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key autostart.
2015-03-19 02:08:56.483 CPX[55379:5813118] Failed to set (animation) user defined inspected property on (UIView): [<UIView 0x7f8fa8da28c0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key animation.
为什么会发生这种情况,以及如何防止调整图像大小?
谢谢你的帮助!
你在为tableview设置背景图片吗?或者它是你视图中的imageview背景图像? – 2015-03-19 07:15:07
@UmangBista它是'UIViewController'上的'UIImageView'。 – StevenR 2015-03-19 07:15:55
你在使用自动布局吗? – 2015-03-19 07:18:05