Post

Replies

Boosts

Views

Activity

Reply to Live Activity Not Working on Physical Device
if the ActivityWidget is the only widget in bundle, the Dynamic Island and Live Activities in lock screen works normally. But if I included other widgets in the widget bundle, the Dynamic Island and Live Activities will not show, and other widgets works normally Workaround: create a new Widget Extension target and isolate your Live Activity Widget there
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’22
Reply to Which way to get currently logged in user in iOS?
CKContainer.fetchUserRecordID() executes the operation and fetches the record. CKFetchRecordsOperation.fetchCurrentUserRecordOperation() is a class function used to generate a CKOperation, which when executed would fetch you the record. But has an additional requirement: You must associate at least one progress handler with the operation object (docs) You probably want to go with the first one.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’22
Reply to iOS 15.2 beta 3 - subscriptions not triggered?!
Apple, it looks that you have a problem with subscriptions created via async/await methods. Apple GitHub account has CloudKit sample code. “CloudKit Samples: Private Sync with Subscriptions and Push“ provides 2 branches: “main“ uses CKOperations to communicate with private CKDatabase - https://github.com/apple/cloudkit-sample-privatedb-sync/tree/main “concurrency” uses async/await methods to communicate with private CKDatabase - https://github.com/apple/cloudkit-sample-privatedb-sync/tree/swift-concurrency Other than that the code is essentially the same. (NOTE: To run the concurrency version, one has to update database.modifySubscriptions method to include the “deleting“ parameter.) Subscriptions are NOT TRIGGERED for the async/await version on a device running iOS 15.2 beta 3 and 4. At least now I know I am not crazy. I'm going to ditch the async/await CloudKit methods.
Dec ’21
Reply to iOS 15.2 beta 3 - subscriptions not triggered?!
Problem still present on a device with 15.2 beta 4. Things I've tried in the meantime: resetting the Development environment from CloudKit Dashboard, deleting and reinstalling the app tried using a different CloudKit Container tried switching between manual and automatic provisioning profiles No changes. Meanwhile, a 15.1 device still happily working correctly, getting notified, working as intended FB9767755, includes a device sysdiagnose as well
Dec ’21
Reply to How to delete container in CloudKit Dashboard?
How many of you would be satisfied with being able to hide the containers from your list, without actually having them deleted? Asking because it looks like Apple's never going to allow us to delete them (this thread is at least 5 years old), but it might not be such a big deal to Apple to let us hide unneeded containers on the UI level. If you think you'd be happy with that kind of solution, please upvote this answer and/or add a comment for it, because I am not quite sure we can see the upvote count :) Should the upvotes show this concept would help a lot of you, I'll work up the UX details and a template for filing the Feedback, which we can all copy-paste-submit and be loud enough to get Apple's attention about this feature. We can all end up with cleaner lists of containers (yay) and all the containers can still be there, which I suspect Apple will have no qualm with.
Nov ’21
Reply to Transaction state gets `.purchased` even I set `SKTestSession.askToBuyEnabled = true`
Found the same behavior in one of my old tests that started failing. I came here looking to see if this was an SKTestSession bug, and seems like it is. Filed feedback FB13330054, recent similar reports: none :/
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to Live Activity Not Working on Physical Device
if the ActivityWidget is the only widget in bundle, the Dynamic Island and Live Activities in lock screen works normally. But if I included other widgets in the widget bundle, the Dynamic Island and Live Activities will not show, and other widgets works normally Workaround: create a new Widget Extension target and isolate your Live Activity Widget there
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Which way to get currently logged in user in iOS?
CKContainer.fetchUserRecordID() executes the operation and fetches the record. CKFetchRecordsOperation.fetchCurrentUserRecordOperation() is a class function used to generate a CKOperation, which when executed would fetch you the record. But has an additional requirement: You must associate at least one progress handler with the operation object (docs) You probably want to go with the first one.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to App review has been taking a long time. Does anyone know how to speed up the process?
Hello, you might want to try this https://developer.apple.com/contact/app-store/?topic=expedite
Replies
Boosts
Views
Activity
Jan ’22
Reply to App review - demo / video
Hi Sergio, you should absolutely provide account credentials. Videos of apps are no guarantee that everything has been disclosed, and the App review team needs to check the actual app for themselves.
Replies
Boosts
Views
Activity
Jan ’22
Reply to Override title for "NowPlaying" on macOS when using AVPlayerView?
Did you ever get this to work?
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to iOS 15.2 beta 3 - subscriptions not triggered?!
Apple, it looks that you have a problem with subscriptions created via async/await methods. Apple GitHub account has CloudKit sample code. “CloudKit Samples: Private Sync with Subscriptions and Push“ provides 2 branches: “main“ uses CKOperations to communicate with private CKDatabase - https://github.com/apple/cloudkit-sample-privatedb-sync/tree/main “concurrency” uses async/await methods to communicate with private CKDatabase - https://github.com/apple/cloudkit-sample-privatedb-sync/tree/swift-concurrency Other than that the code is essentially the same. (NOTE: To run the concurrency version, one has to update database.modifySubscriptions method to include the “deleting“ parameter.) Subscriptions are NOT TRIGGERED for the async/await version on a device running iOS 15.2 beta 3 and 4. At least now I know I am not crazy. I'm going to ditch the async/await CloudKit methods.
Replies
Boosts
Views
Activity
Dec ’21
Reply to iOS 15.2 beta 3 - subscriptions not triggered?!
Problem still present on a device with 15.2 beta 4. Things I've tried in the meantime: resetting the Development environment from CloudKit Dashboard, deleting and reinstalling the app tried using a different CloudKit Container tried switching between manual and automatic provisioning profiles No changes. Meanwhile, a 15.1 device still happily working correctly, getting notified, working as intended FB9767755, includes a device sysdiagnose as well
Replies
Boosts
Views
Activity
Dec ’21
Reply to UICloudSharingController is broken and needs Apple's attention
No regressions in 15.2 beta 3 and beta 4 (= STILL WORKS!) so I'm going to close this
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Service Unavailable Error on all CloudKit queries, HTTP 503, CloudKit error code 6
Off topic: @cmonsour do you have a particular reason for storing user's uuid with every CKRecord in their own private database? Every record is going to have the same uuid
Replies
Boosts
Views
Activity
Nov ’21
Reply to How to delete container in CloudKit Dashboard?
How many of you would be satisfied with being able to hide the containers from your list, without actually having them deleted? Asking because it looks like Apple's never going to allow us to delete them (this thread is at least 5 years old), but it might not be such a big deal to Apple to let us hide unneeded containers on the UI level. If you think you'd be happy with that kind of solution, please upvote this answer and/or add a comment for it, because I am not quite sure we can see the upvote count :) Should the upvotes show this concept would help a lot of you, I'll work up the UX details and a template for filing the Feedback, which we can all copy-paste-submit and be loud enough to get Apple's attention about this feature. We can all end up with cleaner lists of containers (yay) and all the containers can still be there, which I suspect Apple will have no qualm with.
Replies
Boosts
Views
Activity
Nov ’21
Reply to UICloudSharingController no longer allows "add people"
It got fixed in 15.2 beta 2 and the fix is still there in 15.2 beta 3 :)
Replies
Boosts
Views
Activity
Nov ’21
Reply to UICloudSharingController is broken and needs Apple's attention
SO MUCH JOY: 15.2 b2 issue is fixed
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Custom Zones Are Not Allowed in Public DB / Xcode 13 & iOS 15
Hi @iflanagan, custom zones are not allowed in public DB by design. Best place to confirm that are the 3 short paragraphs under “Creating a Custom Record Zone“ section of https://developer.apple.com/documentation/cloudkit/ckrecordzone
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to UICloudSharingController no longer allows "add people"
@mchollar Might work for public database shares (haven't used those personally), but it won't for private ones: the owner first needs to update the share record with the invitee (which doesn't happen when you share a link)
Replies
Boosts
Views
Activity
Oct ’21