gpt4 book ai didi

ios - -[SWRevealView layoutSublayersOfLayer :] 断言失败

转载 作者:行者123 更新时间:2023-11-28 18:30:30 25 4
gpt4 key购买 nike

*与建议的问题不同的是,我没有直接使用containsString:,而是需要找到它的使用位置。

在 iOs 7 上我收到一个错误:

2015-09-08 20:23:06.577 MyProject[2161:607] *** Assertion failure in -[SWRevealView layoutSublayersOfLayer:], /SourceCache/UIKit_Sim/UIKit-2935.137/UIView.m:8794 2015-09-08 20:23:06.580 MyProject[2161:607] -[__NSCFString containsString:]: unrecognized selector sent to instance 0x7bf6c1b0 libc++abi.dylib: terminate_handler unexpectedly threw an exception

我知道 containsString: 只出现在 iOs 8 中,但我确定我没有使用它。工作场所中的“containsString”搜索没有显示任何内容。突出显示的字符串在“main.m”文件中,所以它什么也没告诉我。

你能告诉我如何找到调用 containsString: 的地方吗?

最佳答案

SWRevealViewController.m的layoutSubviews方法应该包含[super layoutSubviews]

关于ios - -[SWRevealView layoutSublayersOfLayer :] 断言失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32462611/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com