Giter Site home page Giter Site logo

Container about dbcamera HOT 4 CLOSED

danielebogo avatar danielebogo commented on June 2, 2024
Container

from dbcamera.

Comments (4)

pjebs avatar pjebs commented on June 2, 2024

With and without the container, the ui looks the same.
Also, you have an option to make a custom ui, all the ui's look the same though.

from dbcamera.

danielebogo avatar danielebogo commented on June 2, 2024

Hi @pjebs ,
thanks for your question, because i've found an error.
So you can check within the master that the custom camera is different.
The container is a controller that contains the camera view controller and the library view controller.
Presenting the camera controller without the container is only an example that shows the possibility to present the camera container alone.
The Camera View is only the object that contains the UI and the gestures.

from dbcamera.

pjebs avatar pjebs commented on June 2, 2024

I found 2 bugs:

When you make the camera into my-face mode, you can't pinch to zoom and also the point-to-focus feature doesn't work in the same way as when the camera is turned around.

With regards to your answer above,

  1. I ran the app and looked at your code - the UI seems to be the same for all (except for some tinting and some buttons disabled).
    In your code, the CustomCamera class is ONLY used for the "custom camera" option in your root menu but for the other options, the UI is the same without the CustomCamera class. Why is that?

2)If I don't want to use the library view controller, is there any advantage of using the cameracontainer class? Is it best to just use the camera without container?

Thanks for your time.

from dbcamera.

danielebogo avatar danielebogo commented on June 2, 2024

The zoom mode is deactivated as the default camera on iOS. I'll check the point-to-focus.

  1. Yes. The UI is the same because it is the default UI of the DBCamera. The CustomCamera is not a class of DBCamera Library, but only an example to explain that you can override the default camera with your custom camera.
    In the first example (openCamera method within the example project) you can find the default method to show the camera with the camera setting block (here i've changed some settings of the camera).

  2. Is the same. You can use both solutions. If you don't use the library, the camera controller works fine without the container.

from dbcamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.