Skip to main content
Hi All,

 

I have used below lightning input tag to upload profile photo into lightening componet page.  But I want to hide "Take Photo" option when file uploading the image from IOS Mobile web browse / IOS Custom app .

 

<lightning:input aura:id="fileId" name="file1" type="file" label="" accept="image/png,image/jpg,image/jpeg,image/gif" onchange="{! c.uploadPictureChange }" multiple="false" />

 

I am not getting "Take Photo" option from android mobile, It is only showing into apple devices.

 

Could you please suggest any idea if this "Take Photo" can be make hidden. I only want to allow to upload file which is exsiting in device.

 

Thanks,

 

Aman Kumar
1 answer
  1. Jonathan Fox (Intellect AI, Intellect Design Arena) Forum Ambassador
    Aug 5, 2020, 7:54 AM
    Hi there,

     

    I believe this is an IOS feature as aposed to a Salesforce one. IOS allows you to search your files, photo library or direct upload from a picture taken.
0/9000