Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的代码有问题,特别是“帐户”类。我需要使用 messageUI 框架,但它们相互冲突,所以我将我的Account类重命名为CustAccount,但我仍然收到相同的错误消息:
Account
CustAccount
由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“-[Account initWithCoder:]:无法识别的选择器发送到实例 0x6069560”
有没有人在这里找到解决方案?
是的,似乎 MessageUI 在其中声明了类 Account,因此如果您要使用此框架,请不要命名您的类 Account。