【发布时间】:2017-10-09 07:43:39
【问题描述】:
很好奇,这在 Swift 4 中会是什么?
stimageout = AVCapturePhotoOutput()
stimageout?.outputSettings = [AVVideoCodecKey : AVVideoCodecJPEG]
目前,Value of type 'AVCapturePhotoOutput' has no member 'outputSettings' 出现错误,这很奇怪,因为我不记得 Apple 会更改它。
这不是“求救”式的问题。我只是好奇Apple是否改变了这一点以及我需要采取哪些步骤来解决这个问题。
提前致谢。 :)
【问题讨论】: