cost 87 ms
带有 iOS PrefersLargeTitles 的 NavigationPage 在滚动时捕捉标题 - NavigationPage with iOS PrefersLargeTitles snaps title when scrolling

当用户向下滚动时,我试图获得与 iOS 上的设置应用程序相同的大标题行为。 大标题和小标题之间的过渡是平滑的。 但是在 Xamarin Forms 上 header 快照。 在我的 NavigationPage 中,我设置PrefersLargeTitles="true" 。 在嵌入的内容页面中,我 ...

将编辑器控件的 cursor position 设置为用户在 Xamarin.forms 中点击的位置 - Set cursor position of the editor control exactly where user tapped in Xamarin.forms

我在 Xamarin.forms 项目工作。 我想将编辑器控件的 cursor position 设置为用户点击的确切位置。 我想在 IOS 中专门实现这一点(最好在 Android 中也有解决方案)。 我浏览了几篇文章,他们建议使用自定义渲染器,但我不知道如何使用。 我已经阅读了以下文章 http ...

在 CarouselView 中缩放图像并滑动到下一张图像后,上一张图像未以其原始形式显示,而是以缩放类型图像显示 - After zooming the image in CarouselView and swiping to next image, the previous image is not display in it's original form it is in zoom type image

在 CarouselView 中缩放图像并将图像滑动到其他图像并返回到我缩放过的图像后,图像已经缩放,因为我希望当我滑动到其他图像时图像应该达到其原始形式。 这是我下面的 XMAl 代码:- ...

Visual Studio 2022 for Mac,“无法连接到调试器”错误弹出窗口和部署到设备时出现“设备无效”错误 window - Visual Studio 2022 for Mac, ‘Could not connect to debugger’ error popup and ‘Device is invalid’ error in Deploying to Device window

我正在使用 Visual Studio for Mac 在 Xamarin Forms 中开发应用程序。 我已经更新了 macOS、Visual Studio 和 Xcode。现在我正在运行 macOS Monterey 版本 12.5.1 并安装了 Visual Studio 2022 for ...

Xamarin Forms 在 iOS 上强制页面特定方向 - Xamarin Forms Forcing Page Specific Orientation on iOS

我的 XF 应用程序中有几个页面需要纵向或横向,具体取决于它显示的内容。 在 Android 上,这没有问题,在 iOS 上也从来没有问题,直到 iOS 16 发布。 iOS 16 显然删除了使用 UIDevice UIInterfaceOrientation 方法的能力,该方法位于我的 AppD ...

Xamarin.Forms iOS inline UIDatePicker的截断问题 - Truncation problem with Xamarin.Forms iOS inline UIDatePicker

Xamarin.Forms DatePicker 视图的默认 iOS 行为是 iOS “Wheel”UIDatePicker。 顺便说一句,这个控件非常丑陋,用户抱怨说他们想要(就像在 Android 中发生的那样)一个日历视图可供选择。 因此,在快速搜索之后,我发现了 iOS 14 提供的一项 ...

如何在点击手势运行后添加暂停? - How do I add a pause after a tap gesture runs?

我正在与计算机对手一起创建单人游戏,我想在人类玩家和计算机轮流之间添加一个暂停,这样它就不会感觉如此计算。 我已经尝试让线程在 MakeMove 方法和 ComputerMove 方法中进入休眠状态,无论哪种方式,玩家从 MakeMove 方法移动都不会在视觉上呈现,直到来自点击手势识别器的整个代 ...

如何从 xamarin.forms 中的 pcl 文件夹中读取任何 CSV 文件 - How to read any CSV file from my pcl folder in xamarin forms

我的 PCL 文件夹中有一个 CSV 文件,我想获取该文件的路径,以便我可以使用 File.ReadAllLine() 读取文件。 这是我使用过的代码,没有获取文件,因为我已将文件更改为嵌入资源,我希望在 string[] 行中使用它。 ...

DeviceAgent-Runner 意外退出 - DeviceAgent-Runner quit unexpectedly

这个赏金已经结束了。 此问题的答案有资格获得+250声望赏金。 赏金宽限期在23 小时后结束。 德雷克正在寻找一个规范的答案。 我制作了一个简单的 Xamarin.iOS 应用程序和一个 UI 测试应用程序项目,只是为了学习如何进行自动化 UI 测试。 我正在使用 VSMac 2019 并遵循此处 ...

微软计划如何支持Xamarin? 我们能否将现有的 Xamarin.iOS 或 Xamarin.Android 项目迁移到 MAUI? - How Microsoft planning to support Xamarin? Will we able to migrate existing Xamarin.iOS or Xamarin.Android project to MAUI?

我刚刚得知 Microsoft 结束对 Xamarin 的支持,2024 年 5 月 1 日是最后日期。 他们不会发布任何新的重大更新,只会为 2024 年 5 月 1 日之前的最后一个版本提供支持。他们将继续使用他们的新产品 MAUI。 我担心的是,我们可以将 Xamarin.iOS 和 Xam ...

Microsoft.Datasync.Client DatasyncClient with options.Offlinestore set throws 无法为 URI 连接字符串配置 sqlite3 - Microsoft.Datasync.Client DatasyncClient with options.Offlinestore set throws Unable to configure sqlite3 for URI connection strings

我正在尝试为 xamarin.ios 应用程序实现基本同步服务。 下面这个例子: https://learn.microsoft.com/en-us/azure/developer/mobile-apps/azure-mobile-apps/quickstarts/xamarin.ios/offl ...

Xamarin.iOS 次构建,最显着的是链接和 AOT 编译,在调试配置中耗时超过 2 分钟 - Xamarin.iOS builds, most notably Linking and AOT-compilation, take over 2 minutes in debug configurations

我有一个 Xamarin.iOS 项目(作为跨平台解决方案的一部分),随着时间的推移它已经增长了很多。 然而,只有 iOS 构建花费了如此多的时间(Windows 桌面构建需要几秒钟,而 Android 很少超过 30 秒,其中 24 秒是安装过程)。 经过大量调整后,我可以将 iOS 设备/模拟器 ...

找不到“IMGSource”的属性、BindableProperty 或事件,或者值和属性之间的类型不匹配 - No property, BindableProperty, or event found for "IMGSource", or mismatching type between value and property

我添加了一个图像属性作为可绑定属性,在该属性中图像将被后端绑定,在列表中我们以 URI 形式获取图像。(下面是图像的链接)“http://103.117.66.70 :5002/AllMedia/Categories/1ij0oc2022_12_29_img.png" 我的可绑定属性代码如下:- 此 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM