Make a views Page Invisible !

Ahmed Wassim BEN SALEM (ENISo) 241 Reputation points
2021-04-12T10:11:14.447+00:00

So i have a stream camera runing inside a views page , i want the camera be invsible in the views page , but it should keep runing and give data..
Any solutions "

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,824 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,025 questions
No comments
{count} votes

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,831 Reputation points Microsoft Employee
    2021-04-12T11:46:36.017+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    If you use camera preview like this thread

    https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/custom-renderer/view

    You cannot make the views or page to invisble, but you can set the HeightRequest="1" and WidthRequest="1" make it to be small like this screenshot.

    86926-image.png

    But if you navigate to other pages, this cameraview will be closed.

    Best Regards,

    Leon Lu


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful