You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ams (JIRA)" <ji...@apache.org> on 2018/02/11 16:43:00 UTC

[jira] [Updated] (CB-13865) Making CameraPopover for imagePicker bigger on Ipad

     [ https://issues.apache.org/jira/browse/CB-13865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ams updated CB-13865:
---------------------
    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?

  was:
The popover for imagePicker from gallery is way too small and people complain about not begin 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 WE COMMIT THIS CHANGE?


> Making CameraPopover for imagePicker bigger on Ipad
> ---------------------------------------------------
>
>                 Key: CB-13865
>                 URL: https://issues.apache.org/jira/browse/CB-13865
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-plugin-camera
>            Reporter: Ams
>            Priority: Major
>             Fix For: Master
>
>
> 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?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org