Facebook SDK Swift4无法识别的选择器配置文件

时间:2017-04-11 15:58:36

标签: ios swift xcode facebook

我正在使用swift3中的Facebook sdk来了解配置文件何时更改

在我的视图中加载

 override func viewDidLoad() {
        super.viewDidLoad()
        basededatos=BaseDeDatosFirebase()
        mensajes = MensajesView(vistaRoot: self)
        print("Notificacion")

        NotificationCenter.default.addObserver(self, selector:"onProfileUpdated:", name:NSNotification.Name.FBSDKProfileDidChange, object: nil)
    }
 func onProfileUpdated(notification: NSNotification)
    {print("cambiando")

    }

但是当我登录facebook时:

  

[ProcIOS.MainViewController onProfileUpdated:]:无法识别的选择器   发送到实例0x7fe4b6d0ef70'   ***首先抛出调用堆栈:

0 个答案:

没有答案