2

in order to achieve clock animation on home screen widget. i use

_clockHandRotationEffect(.custom(cycleTime), in:.current, anchor: .center)

but on Xcode14, it doesn't exist anymore. enter image description here

any replacement?

1 Answers1

5

use Xcode13 and Swift to build a static library. Then call the methods exposed by the static library from Xcode14.

everettjf
  • 116
  • 2
  • 8