行未使用Xamarin表单在ios上调整大小 [英] Row is not resizing on ios with xamarin forms

查看:80
本文介绍了行未使用Xamarin表单在ios上调整大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用xamarin形式的列表视图,它将在行点击时扩展行,并且如果行被扩展则折叠行.逻辑在android中工作正常,但我在IOS上遇到问题.是否有任何方法可以调整大小ios上的高度

I am using a list view in xamarin forms which will expand the row on row tap and collapse the row if the row is expanded.The logic works fine in android but i am getting problem with IOS.Is there any way to resize the height on ios

预先感谢

推荐答案

代替使用堆栈布局,并在点击时切换堆栈布局的可见性.

Instead use stack layout and toggle the visibility of stack layout on tap.

这篇关于行未使用Xamarin表单在ios上调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆