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.
当我在文档上执行所有操作时,_messengerUrlHandler 出现“使用未声明的标识符”错误:https ://developers.facebook.com/docs/messenger/ios
这是我应该定义的东西吗?
是的。我认为它只是一个全局声明的变量,可能是一个属性。它是 FBSDKMessengerURLHandler 的一个实例。
再进一步考虑,我认为这个变量应该包含您编写的实现 FBSDKMessengerURLHandler 的类。你不能只是实例化它,因为它是一个抽象类。相反,您必须从它派生一个类并为抽象类中的函数实现代码。