title: Taro.offUserCaptureScreen(callback)

sidebar_label: offUserCaptureScreen

Un-listens on the event that the user actively takes screenshots.

Reference

Type

  1. (callback: (...args: any[]) => any) => void

Parameters

Property Type Description
callback (…args: any[]) => any The callback function for the event that the user actively takes screenshots.

API Support

API WeChat Mini-Program H5 React Native
Taro.offUserCaptureScreen ✔️