SwingAnimation
SwingAnimation copied to clipboard
小组件平移动画 | Widget on the Move, A Playful Animation
我想咨询下你们在小组件上做灵动面板的序列帧思路 是不是可以提供一些思路如何做到小组件的渲染呢?
如果平移内容上增加了 .blur 修改,且内容有部份在小组件外,在iOS17以上系统,内容会被裁剪。然后在动画渲染之时,会有一个奇怪的过度:没被裁剪的部份会旋转到一个角度后再显示完整内容。即使给内容增加 .contentTransition(.identity) 的修改也会这样。 作者有遇到这个问题吗?有好的解决方案没?
iOS17 在Widget的 Framework and Libraries中添加ClockHandRotationKit发现打出来的包无法添加小组件了。但是模拟器没有问题,有解决方案吗?
组件被移除再添加时,动画的初始位置没有被重置,起始位置是乱的
我在使用过程中遇到两个问题: 1. 使用 SPM 集成的情况下,我发现我必须在宿主 App 的 `Link Binary with Libraries` 中添加 `SwingAnimation`,否则,在运行小组件的时候,会提示找不到 ClockHandRotationKit: ```shell dyld[18266]: Library not loaded: @rpath/ClockHandRotationKit.framework/ClockHandRotationKit Referenced from: /private/var/containers/Bundle/Application/ED21F8A4-CCBE-429D-9019-70193AF27BF0/MyHostApp.app/PlugIns/MyWidgetExtension.appex/MyWidgetExtension Reason: tried: '/usr/lib/swift/ClockHandRotationKit.framework/ClockHandRotationKit' (no such file), '/private/var/containers/Bundle/Application/ED21F8A4-CCBE-429D-9019-70193AF27BF0/MyHostApp.app/PlugIns/MyWidgetExtension.appex/Frameworks/ClockHandRotationKit.framework/ClockHandRotationKit'...
类似网易云的实时歌词小组件, 望大佬指点一下. 🙏
在小组件进行上下运动时,当时间更新的时候,上下的动画会旋转并且旋转的过程中部分内容被裁剪
Is there a possible solution here? Or is it something that Apple has blocked since 26.1?