如何关闭移动 SDK 7.0 中的身份验证视图控制器?

How to dismiss the Authentication View Controller in mobile SDK 7.0?

对于移动 SDK 的 SDK 7.0 版本,我们正在寻找一种方法来关闭 auth 视图控制器。有办法实现吗?

尝试以下操作。 SDK使用多个windows显示auth相关提示。如果您在任何时候需要使用 SFSDKWindowManager 关闭它。

    SFSDKWindowManager.shared().authWindow.dismissWindow(animated: false) {
        // called when dismiss is complete. Make the  application window 
       active.
      }