Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Flashlight Control #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
superturboryan wants to merge 2 commits into main
base: main
Choose a base branch
Loading
from 7-add-flashlight-control
Open

Conversation

@superturboryan
Copy link
Owner

@superturboryan superturboryan commented Nov 24, 2024
edited
Loading

Overview

  • Resolves 🔦 Add torch (flashlight) control #7
  • Add toggle on/off method with default parameter set to toggle current state
  • Call this method from anywhere, no permissions required 🤠
  • App must be in foreground for AVCaptureDevice access 🙄
  • Flashlight turns off if on when app is backgrounded

Testing

  • Verified with iPhone 13 mini - iOS 18.0 ✅

@superturboryan superturboryan added the enhancement New feature or request label Nov 24, 2024
@superturboryan superturboryan linked an issue Nov 24, 2024 that may be closed by this pull request
@superturboryan superturboryan added this to the 0.0.3 milestone Nov 30, 2024
@superturboryan superturboryan force-pushed the 7-add-flashlight-control branch 3 times, most recently from 8911fde to e9f1c29 Compare June 5, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@erikbasargin erikbasargin Awaiting requested review from erikbasargin

@luke-g98 luke-g98 Awaiting requested review from luke-g98

Labels

enhancement New feature or request

Projects

None yet

Milestone

0.0.3

Development

Successfully merging this pull request may close these issues.

🔦 Add torch (flashlight) control

2 participants

AltStyle によって変換されたページ (->オリジナル) /