0
Follow
0
View

how turn on flashlight when use camera ionic 3

Haody_Du 注册会员
6 days ago

You can use setFlashMode Method to set flash status

  flashMode = 'on';
  changeFlashMode() {
   this.cameraPreview.setFlashMode(this.flashMode);
  }

you can see this full article that do what you want to do from here

About the Author

Question Info

Publish Time
6 days ago
Update Time
6 days ago