Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas pushes down after taking photo #4

Open
decoderzhub opened this issue Jun 24, 2018 · 8 comments
Open

Canvas pushes down after taking photo #4

decoderzhub opened this issue Jun 24, 2018 · 8 comments

Comments

@decoderzhub
Copy link

Hello,

After I take a photo or even if I don't take a photo but after the app access the native camera using an iOS it doesn't shift the canvas back to its original position. Do you know how I can fix this?

@yasirkula
Copy link
Owner

Is it a Unity UI Canvas we are talking about or something else?

@decoderzhub
Copy link
Author

Yes on the Unity UI Canvas.

@yasirkula
Copy link
Owner

Honestly, I'm surprised to hear that NativeCamera somehow modifies the properties of a canvas. Can you post two screenshots for clarification: one before accessing the camera and another one after accessing the camera?

@decoderzhub
Copy link
Author

I tried to replicate the issue again and I can't get it to do it now. I was able to fix it with changing the anchor last night.

I guess it has something to do with that.

@decoderzhub
Copy link
Author

decoderzhub commented Jun 25, 2018

Okay got it to replicate it's because I had my hotspot on and the banner that comes across that tells you how many people are connected pushes it down when it launches the camera.

so it most likely won't happen for anyone using an app if they don't have their iOS running as a hotspot device.

Before
img_1341

After
img_1343

@yasirkula
Copy link
Owner

It does seem like an annoying bug. Right now, I have no idea why this happens but I'll let you know if I find something about it.

@harunuysali07
Copy link

I have same issues on IOS

@yasirkula
Copy link
Owner

Do the suggestions in this topic help (in addition to this)? To test an Objective-C function, you can try inserting it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants