目录
目录readme.md

is-camera-on

Check if the built-in Mac camera is on

The camera is commonly known as FaceTime HD or iSight.

This module can be useful to check if the camera is already in use or notify you if it’s turned on when you didn’t intend it to be.

Requirements

macOS 10.13+

Install

Add the following to Package.swift:

.package(url: "https://github.com/sindresorhus/is-camera-on", from: "2.0.2")

Or add the package in Xcode.

Usage

import IsCameraOn

print(isCameraOn())
//=> true
关于
37.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号