destroyWithIOS method

Future<bool> destroyWithIOS()

only ios 销毁SDK,并且释放资源

Implementation

Future<bool> destroyWithIOS() async {
  if (_isIOS) {
    final bool? status = await _channel.invokeMethod<bool?>('destroy');
    return status ?? false;
  }
  return false;
}