Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13865

Making CameraPopover for imagePicker bigger on Ipad

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: cordova-plugin-camera
    • Labels:
      None

      Description

      The popover for imagePicker from gallery is way too small and people complain about not being able to see images before selecting them.

       

      The fix is simple:

       

      Adding this line to willShowViewController method will set it to 960 by 960 or as big as the screen widht/height

      [viewController setPreferredContentSize:CGSizeMake(960,960)];

      It should be added right in the if statement:

      if([navigationController isKindOfClass:[UIImagePickerController class]]){

       

      HOW CAN I COMMIT THIS CHANGE?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                amerCode Ams
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: