mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Unless you're familiar with the way the swift source code is organized, it's not clear what "SourceDocInfo" means, or how it is different from DocSupport, etc. Move the tests into directories that are named based on their request (note: we already had one test under CursorInfo, which just made things even more confusing).
7 lines
185 B
Swift
7 lines
185 B
Swift
class CameraController
|
|
{
|
|
private func checkDeviceAuthorizationStatus()
|
|
{
|
|
AVCaptureDevice.requestAccessForMediaType(AVMediaTypeVideo, completionHandler: { (granted) -> Void in
|
|
}
|