Reputation: 8531
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
Upvotes: 1
Views: 413
Reputation: 13092
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, i.e. 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
Upvotes: 2