Post

Replies

Boosts

Views

Activity

Reply to UICloudSharingController sharing via Messages broken in iOS16
As of iOS 16.0.3, this issue appears to have gone away when using the Apple sample app. I am still using the same downloaded code, so a fix was possibly made by Apple on CloudKit side of things. After investigating, I still encountered the issue when invoking UICloudSharingController using UIViewControllerRepresentable (like in the RayW sample code). The issue does not appear (anymore) when invoking UICloudSharingController using UIViewController (like in the Apple sample code).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’22
Reply to UICloudSharingController sharing via Messages broken in iOS16
On further inspection, the same problem also manifests in other samples which use CoreData+CloudKit sharing, for example: https://www.raywenderlich.com/29934862-sharing-core-data-with-cloudkit-in-swiftui The problem does NOT appear in samples that use pure CloudKit, such as: https://github.com/apple/sample-cloudkit-sharing This leads me to suppose there is something weird going on between Core Data and UICloudSharingController.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’22
Reply to UICloudSharingController sharing via Messages broken in iOS16
On further inspection, the following console message appears when this issue happens for the first time: CoreDataCloudKitShare[3672:1242159] systemSharingUIDidSaveShareBlock received error: <CKError 0x28314d8c0: "Server Record Changed" (14/2004); server message = "client oplock error updating record"; op = 134D57570A63DF3A; uuid = 8F070F8B-0AC0-4FFE-A52D-154BCBF3196C; container ID = “containerID> Where containerID is the CKContainer ID, like “iCloud.com.company.samples.CoreDataCloudKitShare”. The message does not appear on subsequent attempts to add more people.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’22
Reply to UICloudSharingController sharing via Messages broken in iOS16
As of iOS 16.0.3, this issue appears to have gone away when using the Apple sample app. I am still using the same downloaded code, so a fix was possibly made by Apple on CloudKit side of things. After investigating, I still encountered the issue when invoking UICloudSharingController using UIViewControllerRepresentable (like in the RayW sample code). The issue does not appear (anymore) when invoking UICloudSharingController using UIViewController (like in the Apple sample code).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to how to know when a scrollview in SwiftUI is being scrolled?
You could measure the offset of the ScrollView content and store it using Preference Keys. Then if offset > 0, it means the user scrolled. So, if offset > 0 && leadingBool == false means the ScrollView is partially scrolled. So you can do whatever you need. PS in reality I guess you will scroll x to the negative, so it will be < 0.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Redeeming code stucks very often after pressing "Redeem offer code"
Same issue here. Apple pls fix!
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to UICloudSharingController sharing via Messages broken in iOS16
A bug report was submitted as FB11623246
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to UICloudSharingController sharing via Messages broken in iOS16
Submitted as FB11623246
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to UICloudSharingController sharing via Messages broken in iOS16
On further inspection, the same problem also manifests in other samples which use CoreData+CloudKit sharing, for example: https://www.raywenderlich.com/29934862-sharing-core-data-with-cloudkit-in-swiftui The problem does NOT appear in samples that use pure CloudKit, such as: https://github.com/apple/sample-cloudkit-sharing This leads me to suppose there is something weird going on between Core Data and UICloudSharingController.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to UICloudSharingController sharing via Messages broken in iOS16
On further inspection, the following console message appears when this issue happens for the first time: CoreDataCloudKitShare[3672:1242159] systemSharingUIDidSaveShareBlock received error: <CKError 0x28314d8c0: "Server Record Changed" (14/2004); server message = "client oplock error updating record"; op = 134D57570A63DF3A; uuid = 8F070F8B-0AC0-4FFE-A52D-154BCBF3196C; container ID = “containerID> Where containerID is the CKContainer ID, like “iCloud.com.company.samples.CoreDataCloudKitShare”. The message does not appear on subsequent attempts to add more people.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Simulator won't sync with CloudKit since Xcode 14
Same issue here.
Replies
Boosts
Views
Activity
Sep ’22
Reply to App Store Connect: App was rejected, but in-app purchases remain “In Review” and cannot be edited
This was later resolved with Apple, but required getting in direct touch with support.
Replies
Boosts
Views
Activity
Sep ’22