ios - AVD_loader.cpp : failed to get a service for display 4

标签 ios swift xcode webview

我正在尝试通过构建在 Swift 中的 WebView 播放音频。播放音频时,有时会播放完,有时会播放约 2 秒然后停止。然后我在 Xcode 日志中收到错误消息:

/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-9.1.6.1/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 4 

最佳答案

解决方法是:app.disableHardwareAcceleration()

关于ios - AVD_loader.cpp : failed to get a service for display 4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35495796/

相关文章:

ios - 应用程序设置为 'iPhone' ,但它仍然在 iPad 上延伸到全屏?

iphone - 如果 UITextField 为空则显示 UIAlert

swift - 在 Swift 中填充未闭合的贝塞尔曲线路径

objective-c - xcode处理无连接时的xml解析堆栈

ios - 在 SwiftUI 中滑动列表时隐藏导航栏

ios - Objective C 中的 TCP 套接字设置

ios - UITextView 中的 AttributedString 在顶部被修剪

swift - 是否需要将变量 'possibleIntegerValue' 设置为 'optional Int(Int?)',或者将 'possibleIntegerValue' 设置为类型 'Int' 是否可以?

swift - fileprivate 是否适合@NSManaged 变量?

ios - xcode 5 - 打开一个没有 Storyboard的项目