Post

Replies

Boosts

Views

Activity

Reply to How to play gif in widget?
Thank you for your reply. I tried Timer and CADisplayLink, but they are all "invalid" in the widget. Image can be rotated by _clockHandRotationEffect(.secondHand, in: .current, anchor: .center), but it has been disabled in Xcode 14. For the method you mentioned, Image (uiImage: UIImage (contentsOfFile: "animated. gif")) can only display the first frame. @darkpaw
Topic: App & System Services SubTopic: General Tags:
Nov ’22
Reply to URLSession is broken in iOS 18.4 RC Simulator
Once the simulator is configured with Charles, everything will be ok.
Replies
Boosts
Views
Activity
Apr ’25
Reply to Xcode 16.x project doesn’t build with (SiriKit / Widget) intent definition file + translations
Convert to Group;then localize
Replies
Boosts
Views
Activity
Dec ’24
Reply to How to play gif in widget?
Hello everyone! I recently saw a claim that this can be done, although it uses a private API. https://github.com/wyqACoffer/DynamicWidget
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to How to play gif in widget?
没有找到解决方案@past
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to How to play gif in widget?
Thank you for your reply. I tried Timer and CADisplayLink, but they are all "invalid" in the widget. Image can be rotated by _clockHandRotationEffect(.secondHand, in: .current, anchor: .center), but it has been disabled in Xcode 14. For the method you mentioned, Image (uiImage: UIImage (contentsOfFile: "animated. gif")) can only display the first frame. @darkpaw
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Live Activity color issue in sleep mode
@Environment(.colorScheme) var colorScheme
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22