Posts

Post marked as solved
2 Replies
482 Views
An app that I'm working on uses CloudKit with various CKSubscriptions which started to work well again after the 503 errors began disappearing. However, after upgrading my iPhone 7 to iOS 15.3 my app does not receive background push notifications anymore. All the CloudKit subscriptions that use CKSubscription.NotificationInfo(shouldSendContentAvailable: true) do not work anymore, i.e. the AppDelegate's application(_: didReceiveRemoteNotification: fetchCompletionHandler:) method is no longer called. Actually, after rebooting the device my app receives one single notification, the first one that arrives, but not more. The app runs still fine on macOS 12.1 and tvOS 15.2 and it was running fine on iOS 15.2.1 before the upgrade. Anyone seeing similar issues or have ideas that could help? I filed a report on the feedbackassistant but I don't expect much help from there.
Posted
by dabx.
Last updated
.
Post not yet marked as solved
0 Replies
227 Views
wwdc20-10673 briefly shows how to visualize optical flow generated by VNGenerateOpticalFlowRequest and sample code is available through the developer app. But how can we build the OpticalFlowVisualizer.ci.metallib file from the CI-kernel code provided as OpticalFlowVisualizer.cikernel?
Posted
by dabx.
Last updated
.
Post not yet marked as solved
0 Replies
457 Views
What is the correct way to draw an anti-aliased line in SwiftUI? Let's say a straight, white line on black background, 2 points wide and slightly rotated off the horizontal orientation. I've tried a Rectangle() with .fill(style: FillStyle(antialiased: true)) and .frame(width: 2, height: 100), but setting antialiased to true or false did not make any difference. I could not find any anti-aliasing options for Path.
Posted
by dabx.
Last updated
.