【发布时间】:2019-04-15 01:30:10
【问题描述】:
UWP 中是否有任何方法可以像 spotify 一样构建 Hover UI:
我知道在 UWP 中我们有系统控件来在应用程序处于后台时显示控件,我们可以使用它来构建相同的体验吗?如果可以,我该怎么做。
我添加了<uap3:Capability Name="backgroundMediaPlayback" /> 功能,但我遇到了错误。
Error APPX0501 Validation error. error C00CE014: App manifest validation error: The app manifest must be valid as per schema: Line 62, Column 6, Reason: Element '{schemas.microsoft.com/appx/manifest/uap/windows10/3}Capability' is unexpected according to content model of parent element '{schemas.microsoft.com/appx/manifest/foundation/windows10}Capabilities'. Expecting: {schemas.microsoft.com/appx/manifest/foundation/windows10}DeviceCapability <Packing-Path>\bin\x64\Debug\AppxManifest.xml 1
【问题讨论】:
-
如果以下答案有帮助,请考虑接受。
-
感谢@NicoZhu-MSFT