Search results for

offloading

179 results found

Post

Replies

Boosts

Views

Activity

Reply to iOS 10 - App is not working in background mode after 3 minutes
If there is a way to achieve, then How can I upload/download data after 30 minutes of app went backgrond?.Two things:iOS provides no general mechanism for an app to schedule itself to be resumed at a specific time.If an app is running, it has full access to the network, regardless of whether it’s in the foreground or background. The only gotcha is that devices with WWAN will typically shut down Wi-Fi when the device is locked.I’m confused about your upload requirement. If you’re suspended in the background there should be no need to upload data because you can’t possibly have generated new data that warrants uploading.As far as downloads are concerned, my standard recommendation in this space is to have your app offload the decision about what data needs to be dowloaded to a server. When the server decides that the app needs some data it can send it a silent push notification to the app, in response to which the app can kick off the download.IMPORTANT You can use silent push notifications as a mechan
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’17
Reply to Are Multiple UI Threads Possible?
Let's be plain about it: UIKit (which basically cover all of the UI Thread territory) isn't thread safe and the things that draw the view hierarchy run on the main thread. The rare exceptions are outstanding enough that they get mentioned explicitly in the documentation as being thread safe or being designed to run in another thread/queue.On the other hand, it really depends on what you're doing and what sorts of latency you're allowing for how much you can offload to another thread. Because the straight forward way of offloading things that were originally done on the main thread to a background thread ends up looking a lot like this: You've got an action method that's responding to the user tapping a button. Gather up all of the relevant parameters and dispatch a block to the worker queue.Inside that worker block, do the computation and work. Gather up the relevant results and dispatch a block to the main queue. Inside this second block, use the passed in results to update the user interfa
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’17
Reply to Are Multiple UI Threads Possible?
I understand that UIKit is not designed to be thread safe, and that generally long running tasks need to be offloaded to other threads to avoid blocking the main thread.I'm just currently making UIKit do a lot of work - animations, autolayout etc. Which cannot be offloaded to another thread - therefore being a prime candidate for the creation of another UI thread and everything that goes along with that.So what I want is sounding to be unlikely.I want to be able to duplicate my application into another window and have the second window not interfere with performance of the main window.Without significant rewriting effort.Another UI thread working on the separate window would solve my problem immediately and gracefully.I do appreciate all of the comments though.So, thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
May ’17
App "no longer" in App Store - but it is!
After searching the forum, I couldn't find this problem so thought it worth flagging.I wanted to see the process in the new feature of offloading an app rather than deleting it. I offloaded several apps and they stayed on my device but with a small cloud with downward arrow symbol indicating it was able to be reinstalled. However, I hit problems when I attempted to reinstall the app, as I got a pop-up informing me that my device was unable to download the app as it was no longer available in the App Store. I even got that for YouTube, which I am pretty certain is still in the App Store.I got this error whether I tried to reinstall directly from the app icon on my device or via the iPhone Storage sub-menu in Settings. If I go direct to the App Store and search for the app, it's there and I can reinstall it. I'm using a 5s for this.
2
0
977
Jun ’17
Reply to File system lag (lots of beach balls)
From what I have been reading, APFS changes how Fusion works. It's now just a cache repository for meta data, readback cache and writeback cache. It will assist in directory listing. App Nap, Prelinking and directory lookups would likely be the most impacted.I do not know if it will offload files to the SSD that are frequently used like in days past. I'm not saying this is fact but supposition based on what little information I've found so far. The nature of APFS means it is always optimizing content in order to reduce fragmentation so logically it makes sense that it would work off of the HDD and use the Fusion as a cache - such as that for app nap. Anyone else have insight on APFS and Fusion topology? Has it changed Fusion fundamentally?
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’17
Reply to My iPhone 'exploded'
Have you checked to see if your Offload Unused Apps is enabled? Is it possible that these are apps that you have not used in a while and the new OS has removed them from your device due to inactivity in order to free up space on your phone?
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’17
Reply to My iPhone 'exploded'
You're right Scott. Offload unused apps somehow was enabled. It did an awful job of determining inactivity. For example it removed 1Password which I use seveeral times a day. It also blew apart most folders and couldn't bring apps back as advertised.Thanks,Tom
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’17
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
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
Reply to iOS 11.1 beta 5 install fails
Same here. What worked for me was deleting the ‘prepared’ install bits, from the iPhone Storage settings after the install failed a couple of times, then re-downloading. The subsequent attempt to download completed, “prepared”, and “verified”, and successfully updated the phone (iPhone 7). [For the curious, I have a 128GB iPhone 7, which has about 60GB free. Ample space for the OS to download the update bits, expand them, and do what it needed to do to effect an install without offloading apps or other data to introduce confounding variables to the process.]
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’17
Reply to Background Transfer Service and Client Certificates
Hi again,Thanks for the reply. This makes me aware of a number of risks we did not appreciate.Could I just follow up to be sure I understand them right? Specifically, even after we‘ve switched to CA-signed server certificates, you point out two major reasons we should still avoid performing our own server trust challenge evaluation (or indeed handling any authentication challenge) with background sessions:The first reason is we might be penalized by the iOS resume rate limiter:For background sessions specifically, the resumes necessary to handle this authentication challenge counter against the resume rate limiter.Note This applies to all authentication challenges, not just server trust challenges.My question is, is this an issue even if I'm doing something computationally cheap like checking the certificate's common name? In other words, do you mean that any URLSessionDelegate object which implements urlSession(_ session: didReceive: completionHandler:) is a handicap for background execution, because simply
Topic: App & System Services SubTopic: General Tags:
Oct ’17
Bluetooth Logging Buffer Size
Hey guys,I'm trying to sniff some bluetooth traffic over a period of time for post-processing analysis. So far, I've followed the instructions [1] to install the profile [2] which enabled Bluetooth HCI logging and how to offload it - it's working great by the way.So far the logs all seem to be 2.5MB so I'm curious if there is a way to control the rolling buffer size.What kind of Bluetooth configuration options are available? How do I dig into this?Thanks!--James[1] https://developer.apple.com/services-account/download?path=/iOS/iOS_Logs/Bluetooth_Logging_Instructions.pdf[2] https://developer.apple.com/services-account/download?path=/iOS/iOS_Logs/iOSBluetoothLogging.mobileconfig
0
0
1.2k
Nov ’17