简体   繁体   中英

How to open camera inside ionic custom app

I am developing custom app using Ionic and Typescript.

Where I want to open camera and take picture, I am able to open camera from my app but the problem is, it is opening the native camera and which is coming out from my app. What I want is open camera inside from my app, may be in Div container (which has predefined width and height)

Thank you in advance.

You could use a third-party plugin cordova-plugin-camera-preview . Which provides powerful features, including set a custom size(position) for camera preview box.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM