我使用Swift实现了一些适用于iOS的GoogleVR,除了我多次播放视频时,转换视图仅在第一次显示时,它运行良好。我怎么强迫总是显示这个过渡视图?
let url = NSURL.fileURL(withPath: self.urlPost!)
videoVRView.load(from: url)
videoVRView.enableCardboardButton = true
videoVRView.enableFullscreenButton = true
videoVRView.enableInfoButton = false
videoVRView.hidesTransitionView = false
videoVRView.delegate = self
self.videoVRView.hidesTransitionView = false
self.videoVRView.displayMode = GVRWidgetDisplayMode.fullscreenVR
self.currentDisplayMode = GVRWidgetDisplayMode.fullscreenVR
if isPaused {
videoVRView?.play()
} else {
videoVRView?.pause()
}