简体   繁体   中英

Xamarin Forms Camera with custom menu

I'm implementing a Camera function in a Xamarin Forms project, and so far I've used the Media plugin, which works great. Now I want a bit more of control and just like the Media plugin provides a cancel menu button, I would like to add my own menu instead of the Cancel button it provides.

I've did some searching and can see others using the xlabs project, but is this the way to proceed. Make a CustomCameraRenderer or?

Best regards

I've did some searching and can see others using the xlabs project, but is this the way to proceed. Make a CustomCameraRenderer or?

Yes, it is the way to proceed. Camera controls are very unique to the platforms, there is no unified APIs for all the camera functionalities that work on all the platforms.

Note that XLabs is the community project and not directly supported by Xamarin, ie it may break when we updated/make any major changes to Xamarin.Forms.

I would recommend extend the already available camera control from XLabs or roll your own

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