Search results for

offloading

179 results found

Post

Replies

Boosts

Views

Activity

Offloading task from the cooperative thread pool
Hi, When using Swift Concurrency blocking tasks like file I/O, GPU work and networking can prevent forward moving progress and have the potential to exhaust the cooperative thread pool and under utilize the CPU. It's been recommended to offload these tasks from the cooperative thread pool. Is my understanding correct that the preferred way to do this is by creating async tasks via Dispatch or OperationQueue? And combining these with Continuations if a return value from the task is required? Or should I always be using Continuations in combination with Dispatch/OperationQueue? There are also Executors but the documentation seems a bit limited on how to use these. The new TaskExecutor is also only available on the latest beta's. My question is basically what is the recommend way to offload a task? Thanks!
0
0
761
Jun ’24
Prevent uninstall app by "Offload unused apps"
I need to develop Emergency communication app. This app is not used frequently but it need to start immediately when user need to make emergency communication. If this app is not used for a month, it uninstalled by Offload unused apps feature. Is there way to put a flag into app to prevent uninstall? If application's Info.plist has setting like Preventing offloading unused apps, it would be great to me.
1
0
1.5k
Apr ’23
iO11 beta 6 offload app not present
I tried building my app through xcode 9 and installed on iOS11 beta 6 phone. But I could not see offload app option for my app (setting->iphone->storage->myapp).I could see only delete app option. I tried app installed both through xcode and itunes (ipa).But for other apple store , downloaded app I see both the option offload app and delete app.Any idea, why it is not appearing for my app, any setting required in app while building/packaging to achieve this?
1
0
1.5k
Sep ’17
What counts as "unused" for Offload Unused Apps feature?
As noted in posts such as these, the App Offload feature in iOS11 is a bit of mystery:https://forums.developer.apple.com/message/260739#260739https://forums.developer.apple.com/message/299354#299354In addition to not completely/definitely understanding what gets maintained when an App is Offloaded, I've also been unable to find any suggestion as what consistitues an unused App. For example, would receving (and displaying) remote notifications, or using Location Services on the device count as usage that would prevent an App from being offloaded? Or does the App need to enter the foreground before it's considered to have been used?We have an App which is primarily intended to notify users of significant events. These events have a location component, which may be based on current location (using Location Services on the device) or subscribed locations/topics. As a result, the expected usage pattern is tied largely to notifications and location changes, and could leave the App idle fo
3
0
3.3k
Mar ’18
iOS Safari Extensions vs. Offload Unused Apps
I'm here to request clarification on a question we have. One of the flagship features of our iOS app is our Safari extension. We are worried that some users might activate, and never return to the app itself. after 90 days of no use for an app, the system usually offloads the app. What we wanted to know is, does having an enabled Safari extension prevent the app getting offloaded? Thanks for any help
3
0
1k
Oct ’22
iOS 11 - Offload app feature - Push Notifications
How to does push notifications work in case of Offload app feature in iPad?I am facing an issue in iOS 11 on iPad, my application still receives push notifications in Offload app status. Is there any delegate or a notification the app can handle in this state.So far i couldn't find any documentation for the same. Suggestions are much appreciated. Thanks in advance.
3
0
6.6k
Oct ’17
Is there a way to determine when the app was restored from being offloaded in iOS 11?
Is there any callback available in iOS framework SDK to find out when an iOS app got restored being offloaded in iOS 11? I need to check the occurrence when the app got restored from the offload of unused apps. So, is there any callback or event to find the same in the iOS framework? Any suggestions are much appreciated. Thanks,
0
0
420
Jul ’21
handling files offloaded to iCloud?
My app saves its document files by default into ~/Documents. It does some important domain-specific stuff when a document is deleted. I monitor for deletion using https://github.com/eonist/FileWatcher Unfortunately several users have noticed my app doing this cleanup work even when they have not deleted the corresponding document. We've traced it through and realised it's the iCloud Optimise Mac Storage feature, or Store in iCloud > Desktop and Documents. I'm not sure which because I don't use these features of macOS at all, and also they seem to have been renamed or changed in Sonoma. Either way, I'm wondering: a) how I can tell in Swift whether a file has actually been deleted, or whether it's been offloaded to iCloud by macOS. b) how can I test this? My research is pointing at urlubiquitousitemdownloadingstatus but it's hard to play with it without knowing how to test it.
2
0
809
Sep ’24
Do offloaded apps count as app deletions in App Store Connect?
In recent months, App Store Connect has started to report on app deletions. I have an app that is seasonal, and I noticed that I have a lot of deletions recently, usually spiking on Sundays. The number of deletions seemed odd to me, and the spikes seemed especially odd. Then it occurred to me that this might be as a result of iOS offloading apps that have not been used for a long time. Can anyone tell me - is the the case? Do the stats for app deletions include offloads? And also, does anyone know after about how long of a period of not using an app is it offloaded? Eg. 3/6/9 months?
5
0
3.1k
Sep ’19
How to implement mDNS offload function in NIC driver
Hi,I was looking for a guide about implemtation of mDNS offload function in NIC driver. For mDNS_offload_capable support, what should I do in addition to adding the properties (mDNS_KEY and mDNS_Keepalive) and implementing a user client to handle cmd_mDNSOffloadRR command? Is mDNSOffloadUserClient open source? Can anyone help me?Thanks a lot.
0
0
1k
Aug ’16
Can you force Messages to offload old, stuck attachments on macOS?
It appears that some attachments get stuck and aren't offloaded like they are on iOS. I have 200-300 attachments, all dated 5/3/2021 (perhaps that's when I last formatted this Mac and downloaded from iCloud), and then it keeps 1-10 attachments from every month after that. I don't want to delete the attachments because I want them to stay in iCloud. Is there a terminal command to offload or set the maximum space Messages may use or something? Signing out and signing back in does nothing. They stay on the hard drive. Messages on my phone with the same synced conversations stay around 21GB.
0
0
783
Oct ’23
Reply to identifierForVendor change when offload app?
I disagree with MobileTen. I don't think the page that he links to says anything about offloading. Offloading is a relatively new feature in iOS. If the identifierForVendor changed during offloading, many apps that predated offloading (including one of mine!) would have had problems as a result. I have not seen any such problems, which makes me think that the identifierForVendor does not change. But I could be wrong; users do not always report problems. Anyone else have any experience to share? (Of course the safe thing to do is to assume that it can change at any time.)
Topic: Privacy & Security SubTopic: General Tags:
Mar ’22
AppGroup data of offloaded apps lost after restoring from iCloud backup
I was able to reproduce this with our own app as well as with apps by other developers (e.g. Documents by Readdle).Our app stores its data in the app group:Foundation.FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: AppGroupConstants.appGroupIdentifier).appendingPathComponent(File Provider Storage, isDirectory: true)!.appendingPathComponent(Media, isDirectory: true)1) Install the app from the App Store2) Add some data3) Manually offload the app (Settings -> General -> iPhone/iPad Storage -> *App Name* -> Offload App)4) Backup device to iCloud5) Reset device (Settings -> General -> Erase All Content and Settings)6) Restore device from iCloud Backup (this is important - it works with iTunes backups)7) Open the app. Because it was offloaded it gets downloaded at this point but the app group data is NOT restored.This looks like a serious bug to me.Can someone confirm this?
7
0
3.7k
Jan ’18