nativescript-camera-plus icon indicating copy to clipboard operation
nativescript-camera-plus copied to clipboard

camera preview size is not proper(iOS)

Open SonaliRane26 opened this issue 7 years ago • 12 comments

fullsizeoutput_30

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

SonaliRane26 avatar Feb 16 '18 05:02 SonaliRane26

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

bradmartin avatar Feb 17 '18 22:02 bradmartin

Ok Thank You for your time :)

On Sun, Feb 18, 2018 at 4:04 AM, Brad Martin [email protected] 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 .

SonaliRane26 avatar Feb 19 '18 13:02 SonaliRane26

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

mriza1815 avatar Mar 30 '18 08:03 mriza1815

Same problem here (#18).

geoffbullen avatar Apr 22 '18 23:04 geoffbullen

Try wrap in AbsoluteLayout like this;

<AbsoluteLayout> <CameraPlus></CameraPlus> </AbsoluteLayout>

mriza1815 avatar Apr 25 '18 07:04 mriza1815

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

geoffbullen avatar Apr 25 '18 23:04 geoffbullen

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

frey1esm avatar Apr 28 '18 21:04 frey1esm

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

geoffbullen avatar May 10 '18 00:05 geoffbullen

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

geoffbullen avatar Jun 18 '18 02:06 geoffbullen

Perhaps this SwiftyCam is related??

And this SwiftyCam issue #143

The fix

frey1esm avatar Jun 24 '18 15:06 frey1esm

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?

dottodot avatar Jan 21 '19 11:01 dottodot

same issue....

Bezlepkin avatar Aug 02 '21 08:08 Bezlepkin