Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70811

How to open the "Photo Library" on ios

$
0
0

I am using ionic/angular to develop a web application. In my app, I have a feature where the user can upload an image from their device. When the user clicks on the

<input #file id=“file-input” type=“file” (change)=“onFileSelected($event)” />
element, on ios the “photo library, take photo and browse” options pop up. However, I only want photo library, infact it would be nice if it just went straight into the users photo library. Is this possible? I tried adding accept=".jpg" but this does not work on ios.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70811

Trending Articles