Post

Replies

Boosts

Views

Activity

Reply to How to let iCloud sync across the devices without launching the app at midnight?
Hi, Ziqiao, Thank you for your reply. 1.We just enabled iCloud sync in our app by following the guidance(https://www.hackingwithswift.com/quick-start/swiftdata/how-to-sync-swiftdata-with-icloud). 2.The app is similar with apple calendar. The app sync events data across the devices. 3.We have talked with some potential users. Their habits are to edit their agenda on iPad or Macbook because the screen is big enough. And then they will carry their iPhone to go outside and depend on the notifications from their iPhone to remind them. We can remind them to launch the app on their iPhone to sync the data from iCloud but sometimes they will forget it. That's why we want to design some codes to sync the events data from iCloud in the midnight without launching the app on iPhone.We have designed codes to reschedule the notifications in the midnight via backgroundtask. It works well. But we can't find the method to manually sync iCloud data via backgroundtask. Look forward to good solutions from Apple for it. Best Wishes,
Jan ’25
Reply to How can I force a function only runs once during the whole app lifecycle?
I found the func can stop after about 5 minutes. I think it's the time that the key is saved in UserDefaults. But it's too long. Is there another method to let the function run only once?
Topic: Design SubTopic: General
Replies
Boosts
Views
Activity
Aug ’25
Reply to How often iCloud will sync with local swiftData?
The reason seems to be that I installed the app from testflight not from app store six days ago. In fact, the version is the same. But I don't know why iCloud doesn't sync with the app from testflight. I log in it with the same account.
Replies
Boosts
Views
Activity
Mar ’25
Reply to Monthly/yearly subscriptions are wrongly shown as one-time purchase in App Store
I found that I have set the price of App. I have revised it to zero. It's free in App store now.
Replies
Boosts
Views
Activity
Feb ’25
Reply to Apple review team is crazy now.
"Appeal to the App Review Board" works! My App is approved! I am so excited! If you are facing unfair review results, remember to appeal!
Replies
Boosts
Views
Activity
Feb ’25
Reply to How to let iCloud sync across the devices without launching the app at midnight?
Hi, Zhiqiao, Thank you for your reply. It seems that the only way is to remind the users to sync iCloud across the devices by launching the app. Hope there will be smarter solutions from Apple in future. Best Wishes,
Replies
Boosts
Views
Activity
Jan ’25
Reply to How to let iCloud sync across the devices without launching the app at midnight?
Hi, Ziqiao, Thank you for your reply. 1.We just enabled iCloud sync in our app by following the guidance(https://www.hackingwithswift.com/quick-start/swiftdata/how-to-sync-swiftdata-with-icloud). 2.The app is similar with apple calendar. The app sync events data across the devices. 3.We have talked with some potential users. Their habits are to edit their agenda on iPad or Macbook because the screen is big enough. And then they will carry their iPhone to go outside and depend on the notifications from their iPhone to remind them. We can remind them to launch the app on their iPhone to sync the data from iCloud but sometimes they will forget it. That's why we want to design some codes to sync the events data from iCloud in the midnight without launching the app on iPhone.We have designed codes to reschedule the notifications in the midnight via backgroundtask. It works well. But we can't find the method to manually sync iCloud data via backgroundtask. Look forward to good solutions from Apple for it. Best Wishes,
Replies
Boosts
Views
Activity
Jan ’25