nstudio / nativescript-camera-plus

MIT License
79 stars 50 forks source link

camera preview size is not proper(iOS) #10

Open SonaliRane26 opened 6 years ago

SonaliRane26 commented 6 years ago

fullsizeoutput_30

Above is the attached screenshot from iPad, Wanted to change the width of the preview camera....

bradmartin commented 6 years ago

I'm not very familiar with the native side of the iOS piece. @NathanWalker would know best.

SonaliRane26 commented 6 years ago

Ok Thank You for your time :)

On Sun, Feb 18, 2018 at 4:04 AM, Brad Martin notifications@github.com wrote:

I'm not very familiar with the native side of the iOS piece. @NathanWalker https://github.com/nathanwalker would know best.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nstudio/nativescript-camera-plus/issues/10#issuecomment-366476407, or mute the thread https://github.com/notifications/unsubscribe-auth/AixtTswFyA5-OkKekRrrcrEQmVhj9_4aks5tV1QFgaJpZM4SH4cL .

mriza1815 commented 6 years ago

Same here. Not problem on android. Just ios devices size not proper.

geoffbullen commented 6 years ago

Same problem here (#18).

mriza1815 commented 6 years ago

Try wrap in AbsoluteLayout like this;

`

`

geoffbullen commented 6 years ago

@mriza1815 the component fills the whole ipad, but the camera preview is only part of it - see this screenshot

frey1esm commented 6 years ago

@mriza1815 For me, <AbsoluteLayout> simply moved the camera view to the right a little bit.

geoffbullen commented 6 years ago

@NathanWalker could we change this from a question to a bug?

geoffbullen commented 6 years ago

I assume no one has a work around for this??

frey1esm commented 6 years ago

Perhaps this SwiftyCam is related??

And this SwiftyCam issue #143

The fix

dottodot commented 5 years ago

Does anyone have a fix for this. I've tried forking the SwiftyCam used in this plugin to try the center fix mentioned above but that had no effect.

https://github.com/dottodot/SwiftyCam

I've also tried using the proper release of SwiftyCam https://github.com/Awalz/SwiftyCam but that causes error and my knowledge of Swift and creating plugins isn't that great so not sure how to get it working.

Is there a reason why a different SwiftyCam Pod is being used?

Bezlepkin commented 3 years ago

same issue....