从我的图层 url 创建 serviceFeatureTable 时遇到问题。
let serviceFeatureTable = AGSServiceFeatureTable(url: selectableMapLayerUrl)
serviceFeatureTable.load { (error) in
if let error = error
{
print(error) // bad lexical cast: source type value could not be interpreted as target
}
}
错误是: 错误域=com.esri.arcgis.runtime.error Code=10018“错误的词法转换:源类型值无法解释为目标” UserInfo={NSLocalizedDescription=错误的词法转换:源类型值无法解释为目标,NSLocalizedFailureReason=}
它在网站上运行良好,但在 iOS 上出现问题
有什么建议么