本文介绍了NSCFData fastCharacterContents崩溃?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在控制台中收到此崩溃日志:

I am currently getting this crash log in the console:

有谁知道这是什么手段?可能是什么原因造成的?谢谢!

Does anyone know what this means? What could be the cause of it? Thanks!

推荐答案

对象不响应 _fastCharacterContents 选择器,因此抛出运行时异常。

An NSData object doesn't respond to a _fastCharacterContents selector, so there's a runtime exception being thrown.

NSString 但是, DOES 有一个带有该名称的私有方法,因此您可能会将 NSData 对象存储到假定为一个 NSString

NSString, however, DOES have a private method with that name, so it's likely that you're storing an NSData object into something that is assumed to be an NSString.

这篇关于NSCFData fastCharacterContents崩溃?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 23:18