本文介绍了如何从Xamarin窗体中的Azure B2C删除缩放按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的xamarin表单应用程序中运行了azure b2c,它运行良好,但是ui定制非常有限.而且我在登录页面,注册页面和忘记密码时遇到一个问题,它在角落的底部有缩放"按钮,这很烦人,因为有时在我尝试按下注册时,它会按下缩放"按钮.

以及如何删除此按钮,因为我无法在azure b2c中找到任何设置,因此我正在使用翼尖作为我的

解决方案

我找到了答案,只需将其添加到您的html模板中

 <元名称=视口" content ="width = device-width,height = device-height,initial-scale = 1.0,maximum-scale = 1.0,user-scalable = no"/> 

而不是在您的xamarin表单中制作自定义渲染器,并且效果很好

I have azure b2c running in my xamarin forms app, its work well but the ui customization is so limit. And I have one problem in the login page, signup page and forgot password it has Zoom button in the bottom of corner which is so annoying because sometime when I'm trying to press the signup its press the zoom button instead.

And how I can remove this button because I can't find any setting in the azure b2c i'm using wingtip as my Azure b2c layout from here is that because css i use from wingtip template or its because the azure b2c setting or something here is the example. Can I remove this?

解决方案

I Found the answer just add this in your html template

<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

instead of make custom renderer in your xamarin forms and it works perfectly

这篇关于如何从Xamarin窗体中的Azure B2C删除缩放按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 10:51