- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
*与建议的问题不同的是,我没有直接使用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/
我在 UITextField 的子类中使用 AutoLayout,但有时我会收到以下错误/堆栈跟踪: *** Terminating app due to uncaught exception 'NS
*与建议的问题不同的是,我没有直接使用containsString:,而是需要找到它的使用位置。 在 iOs 7 上我收到一个错误: 2015-09-08 20:23:06.577 MyProject
我想在 UIViewController 上使用 UISearchDisplayController,它包含一个 UITableView。 我使用自动布局。当我尝试将 SearchBar (_sear
我想在 UIViewController 上使用 UISearchDisplayController,它包含一个 UITableView。 我使用自动布局。当我尝试将 SearchBar (_sear
这是问题所在:UITableViewController(带有 UITableView),当没有行时,我想在上方显示“无内容”标签。 它在 iOS 8.x 上运行但在 iOS 7.1 上崩溃(断言失败
我有一个自定义 View ,它在右下角显示一个 UILabel。 View 是在从 initWithCoder: 和 initWithFrame: 调用的方法中设置的,如下所示: MCLabel* l
我制作了一个使用 UIScrollView 在 Swift 中的 UIViewController 之间滚动的应用程序,它在 IOS8 上工作正常,但是当我在 IOS 7 上运行它时,我遇到了一个巨大
我正在将一个快速库移植到 Xamarin.IOS,它使用 UIButton 制作一些 Material 设计动画。 swift 的对应物是 UIButton 的子类并覆盖了 layoutSublaye
我目前遇到 iOS7 和 MFMailComposeViewController 的问题。有时(经常但不总是),我在呈现 MFMailComposeViewController 时遇到以下崩溃: **
类似问题的答案没有帮助,所以我提出了一个新问题。 我现在在我的几个项目中都遇到了这个问题: 点击第一响应者 UITextField 或 UITextView(通常会调出用于复制和粘贴的默认上下文菜单)
我是一名优秀的程序员,十分优秀!