Ios 如何访问UIViewcontroller中已安装的pod库宏字符串?
我安装了sinch(在swift中工作) pod内文件夹“SINAPSEnvironment.h” 在UIViewcontroller.swift中,我正在使用Ios 如何访问UIViewcontroller中已安装的pod库宏字符串?,ios,swift,voip,sinch,callkit,Ios,Swift,Voip,Sinch,Callkit,我安装了sinch(在swift中工作) pod内文件夹“SINAPSEnvironment.h” 在UIViewcontroller.swift中,我正在使用 push = Sinch.managedPush(with: SINAPSEnvironmentAutomatic) push?.delegate = self push?.registerUserNotificationSettings() push?.setDesiredPushType(SINPushTypeVoIP) 在这里“
push = Sinch.managedPush(with: SINAPSEnvironmentAutomatic)
push?.delegate = self
push?.registerUserNotificationSettings()
push?.setDesiredPushType(SINPushTypeVoIP)
在这里“SINAPSEnvironmentAutomatic”获取错误。(使用未解析标识符“SINAPSEnvironmentAutomatic”)
如何解决此问题。在顶部的ViewController中, 确保已添加模块
import //Module name
在UIKit下,
在你的情况下我想是这个豆荚
SinchRTC
只需确保其已导入,以及如何使用它阅读文档SinchRTC此pod?
import //Module name