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

Making CameraPopover for imagePicker bigger on Ipad

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Master
    • cordova-plugin-camera
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment