-[UIView AdjustedContentInset]:无法识别的选择器发送到 ios 11 中的实例 [英] -[UIView adjustedContentInset]: unrecognized selector sent to instance in ios 11

查看:34
本文介绍了-[UIView AdjustedContentInset]:无法识别的选择器发送到 ios 11 中的实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

> Scrollview 有内容视图来管理子视图,

> Scrollview have content view to manage subviews,

错误来自 ios 11 在 ios 10 中工作正常

Error comes in ios 11 work fine in ios 10

-[UIView AdjustedContentInset]:无法识别的选择器发送到实例 0x10296d680 2017-10-02 12:34:11.931454+0530MobifinX1_Subscriber[1235:135465] * 由于未捕获而终止应用异常 'NSInvalidArgumentException',原因:'-[UIViewAdjustedContentInset]:无法识别的选择器发送到实例0x10296d680'* 第一次抛出调用栈:(0x186f53d38 0x186468528 0x186f611f8 0x19071bcc4 0x186f596e4 0x186e3f0dc 0x1906f2628 0x39000x1906f1bc0 0x1906f18f0 0x19040c964 0x1904e8e48 0x19040ae040x19040aa34 0x19040a95c 0x190361000 0x18af310b4 0x18af351940x18aea3f24 0x18aeca340 0x1905c7744 0x190ca6718 0x190c9f5740x186efc358 0x186efc2d8 0x186efbb60 0x186ef9738 0x186e1a2d80x188cabf84 0x1903c7880 0x100abcb5c 0x18693e56c) libc++abi.dylib:以 NSException 类型的未捕获异常终止

-[UIView adjustedContentInset]: unrecognized selector sent to instance 0x10296d680 2017-10-02 12:34:11.931454+0530 MobifinX1_Subscriber[1235:135465] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView adjustedContentInset]: unrecognized selector sent to instance 0x10296d680' * First throw call stack: (0x186f53d38 0x186468528 0x186f611f8 0x19071bcc4 0x186f596e4 0x186e3f0dc 0x1906f2628 0x1906f23f0 0x1906f1bc0 0x1906f18f0 0x19040c964 0x1904e8e48 0x19040ae04 0x19040aa34 0x19040a95c 0x190361000 0x18af310b4 0x18af35194 0x18aea3f24 0x18aeca340 0x1905c7744 0x190ca6718 0x190c9f574 0x186efc358 0x186efc2d8 0x186efbb60 0x186ef9738 0x186e1a2d8 0x188cabf84 0x1903c7880 0x100abcb5c 0x18693e56c) libc++abi.dylib: terminating with uncaught exception of type NSException

推荐答案

答案 - 我们不能在名为 contentScrollView 的 uiscrollview 中取出 uiview 的 iboulet.

Answer - we can not take iboulet of uiview inside uiscrollview with named contentScrollView.

这篇关于-[UIView AdjustedContentInset]:无法识别的选择器发送到 ios 11 中的实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆