为了在主屏幕小部件上实现时钟动画。我用
_clockHandRotationEffect(.custom(cycleTime), in:.current, anchor: .center)
有替代品吗? ??
最佳答案
使用Xcode13和Swift构建静态库。然后从Xcode14调用静态库公开的方法。
关于swiftui - Xcode14 beta(iOS 16)、SwiftUI、_clockHandRotationEffect 不再存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72893838/