locked
Cannot acces camera library but only live camera in Xamarin iOS RRS feed

  • Question

  • User385718 posted

    I have a webview based app in Xamarin iOS.

    When the user opens the app and presses a speficic button, the user should see a dialog(intent in android) where he can choose between opening the camera or choosing a picture from his album.

    But instead of that the user will instantly be directed to the camera.

    this is my file upload:

    asp:FileUpload ID="FileUploadPlayerVideo" runat="server" renderid="true" accept="image/*" capture="camera" type="file"/

    And here is my appDelegate:

    I have heard about an ImagePickerController but i dont know how to implement it in my application.

    I hope anyone can help me solve this problem.

    Thursday, December 19, 2019 5:50 PM

Answers

  • User369979 posted

    Remove the capture="camera" it will display camera and gallery for choosing on iOS:

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, December 20, 2019 3:20 AM

All replies

  • User369979 posted

    Remove the capture="camera" it will display camera and gallery for choosing on iOS:

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, December 20, 2019 3:20 AM
  • User385718 posted

    Hi landLu,

    Thank you for your awnser.

    My problem is solved now!

    Friday, December 20, 2019 1:31 PM