# takePhoto H5 调起原生拍照

# Attributes

属性 类型 必要 默认值 说明

# 调用示例

 window.bridge.takePhoto({
      compressRage: 70,
      type: 'jpg',
      crop: false,
      scale: 1,
      maxWidthHeight: 1500,
      isNeedBase64: false
    }, res => {
      console.log('handleAfterReadApp', 'photo', res)
    }, error => {
      console.log(error)
    });

# 接口返回示例