Search results for

“offloading”

183 results found

Post

Replies

Boosts

Views

Activity

Reply to Refresh notification content with background task
We have a UNUserNotification that is scheduled for a certain date. The content of this notification might be subject to change as we get closer to its delivery. My preferred way to do this is to offload the logic for ‘rendering’ the notification to a push provider. At that point your app doesn’t need to resume in the background and update the notification; rather, the push provider just sends the right push notification at the right time.If you can’t do that, refreshing the notification on the client is going to be problematic. BGAppRefreshTask is the right option for this but most developers who try to use this tech (which is equivalent to the old ‘background fetch’ mechanism) are disappointed with how infrequently it resumes their app. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’19
Reply to Do offloaded apps count as app deletions in App Store Connect?
>Do offloaded apps count as app deletionsAppears so, yes. I see no evidence there is a time factor, tho.From ASC Help / Metrics:Deletions: The number of times your app was deleted on devices running iOS 12.3 or tvOS 9 or later by users who agree to share their data with you. This data includes deletions of the app from the Home Screen and deletions of the app through Manage Storage. Data from resetting or erasing a device's content and settings is not included.
Sep ’19
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
Reply to An error occurred installing iOS 13 Public Beta.
He's correct, like many have said, I went and Offloaded and removed some apps and it completed.I remembered that I had a update in iOS 11 days that did this,From my history of computers since the 90's, I think it had enough to downloa, even though I deleted and tried again - It didn't have quite enough spacevto fully extract and put all of the stuff where it needed to.This timem the screen went black for a few and it rebooted.Success!
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’19
Reply to An error occurred installing iOS 13 Public Beta.
He's correct, like many have said, I went and Offloaded and removed some apps and it completed.I remembered that I had a update in iOS 11 days that did this,From my history of computers since the 90's, I think it had enough to downloa, even though I deleted and tried again - It didn't have quite enough spacevto fully extract and put all of the stuff where it needed to.This timem the screen went black for a few and it rebooted.Success! This Dark mode is quite different than on Mojave.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’19
Questions for Security lab (Tuesday, June 4th at 11:00 AM)
Auditing:Question: What will change/improve in proper way to offload audit information (log to SIEM systems) comparable to Apple > GitHub > swift-log idea, but build into OS auditing systems?Answer:File a Radar to request streaming of OpenBSM logs to syslog.File another Radar to request macOS Catalina be upgraded with the latest version of OpenBSM, which supports exporting to plain text natively.FileVault:Question: In the WWDC Catalina beta, enabling FileVault with fdesetup includes a dialog window for user approval (see below). Is there a way to suppress this window from appearing?Answer: Dialog window was added as ransomware protection. File a Radar to request an MDM option for suppressing dialog window.Endpoint Security:Question: Will the new EndpointSecurity framework be available for iOS/iPadOS?Answer: No.Kernel Extensions:Question: Any timeline on when they will be fully deprecated?Answer: Apple does not comment on future product releases.Question: Beyond disabling SIP, are there other wa
1
0
3.0k
Jun ’19
MTKView Drawing Performance
What I am Trying to DoI am trying to show filters on a camera feed by using a Metal view: MTKView. I am closely following the method of Apple's sample code - Enhancing Live Video by Leveraging TrueDepth Camera Data - linkWhat I Have So FarFollowing code works great (mainly interpreted from above-mentioned sample code) :class MetalObject: NSObject, MTKViewDelegate { private var metalBufferView : MTKView? private var metalDevice = MTLCreateSystemDefaultDevice() private var metalCommandQueue : MTLCommandQueue! private var ciContext : CIContext! private let colorSpace = CGColorSpaceCreateDeviceRGB() private var videoPixelBuffer : CVPixelBuffer? private let syncQueue = DispatchQueue(label: Preview View Sync Queue, qos: .userInitiated, attributes: [], autoreleaseFrequency: .workItem) private var textureWidth : Int = 0 private var textureHeight : Int = 0 private var textureMirroring = false private var sampler : MTLSamplerState! private var renderPipelineState : MTLRenderPipelineState! private var vertexCoordBuffer
0
0
2.9k
Apr ’19
Reply to Still no way to create a 'fall through' layer
With respect, herein lies the issue. If you were to handle all touch detection only in the SKScene class, that would make it easier to determine which node should receive the touch. However, in any complex system, you would (at least in my opinion) distribute touch handling to objects themselves.For example, I have a Button class that I use in all my projects, which is subclassed from SKNode. Button receives and handles its own touches, so that such logic doesn't have to be repeated multiple times in each SKScene, in each project. Buttons tend to be important elements, so you're likely to find one in each SKScene in your project, making it highly efficient to offload this particular logic to the object class. So when I want to use a button, I instantiate Button in an SKScene, feed it the functionality I want it to perform upon touching and it works out of the box.Since touch handling is distributed, you can't really loop through and consider touch fallthrough per node. Consider a custom scroll view c
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Feb ’19
In-house distribution & offloading?
Is it possible to make In-house distribution compatible with offloading? If not, is the Custom Distribution compatible?An in general: Can u deactivate offloading for your app as a developer? The current scenario is, that when ever our B2B app is offloaded, the user can not just redownload it via the native UI, but has to manually reinstall the Application.
1
0
921
Dec ’18
Reply to Core Data Deadlocks
We recently solved a similar issue by removing one of our contexts. We had our a main queue context writing into a private queue context which would then write to the persistent store coordinator (Same as your root context). This was done to offload saving to disk to a background queue. On iOS 12 beta 5, this seemed to be causing the deadlock. We pointed our main queue context to the store coordinator directly, and removed the final private queue context, which resolved it. Write now happen on the main thread, but the app runs.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’18
Reply to Does someone in this world have a working code with background fetch?
All I need is to check the data on the network every three hours and issue a warning when checking.This isn’t really the intended use case for background fetch. The idea behind background fetch is that the system learns when the user is using the app and, if the user is regularly using it at specific times, the system sends the app a background fetch event before that time so that it can refresh. For example:The user might run a social media app regularly throughout the day, so the system would send that app regular background fetch events.The user might run their news app at breakfast time, so the system would send that app a background fetch event early in the morning.The user might have a second news app on their device but never run it, in which case that app would never get any background fetch events.Background fetch does not guarantee regular background fetch events. Indeed, there is no mechanism on iOS that guarantees regular execution in the background.Once your app has checked the data on the networ
Topic: App & System Services SubTopic: Core OS Tags:
May ’18
Reply to Refresh notification content with background task
We have a UNUserNotification that is scheduled for a certain date. The content of this notification might be subject to change as we get closer to its delivery. My preferred way to do this is to offload the logic for ‘rendering’ the notification to a push provider. At that point your app doesn’t need to resume in the background and update the notification; rather, the push provider just sends the right push notification at the right time.If you can’t do that, refreshing the notification on the client is going to be problematic. BGAppRefreshTask is the right option for this but most developers who try to use this tech (which is equivalent to the old ‘background fetch’ mechanism) are disappointed with how infrequently it resumes their app. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’19
Reply to Do offloaded apps count as app deletions in App Store Connect?
>Do offloaded apps count as app deletionsAppears so, yes. I see no evidence there is a time factor, tho.From ASC Help / Metrics:Deletions: The number of times your app was deleted on devices running iOS 12.3 or tvOS 9 or later by users who agree to share their data with you. This data includes deletions of the app from the Home Screen and deletions of the app through Manage Storage. Data from resetting or erasing a device's content and settings is not included.
Replies
Boosts
Views
Activity
Sep ’19
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?
Replies
5
Boosts
0
Views
3.1k
Activity
Sep ’19
Reply to An error occurred installing iOS 13 Public Beta.
He's correct, like many have said, I went and Offloaded and removed some apps and it completed.I remembered that I had a update in iOS 11 days that did this,From my history of computers since the 90's, I think it had enough to downloa, even though I deleted and tried again - It didn't have quite enough spacevto fully extract and put all of the stuff where it needed to.This timem the screen went black for a few and it rebooted.Success!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’19
Reply to An error occurred installing iOS 13 Public Beta.
He's correct, like many have said, I went and Offloaded and removed some apps and it completed.I remembered that I had a update in iOS 11 days that did this,From my history of computers since the 90's, I think it had enough to downloa, even though I deleted and tried again - It didn't have quite enough spacevto fully extract and put all of the stuff where it needed to.This timem the screen went black for a few and it rebooted.Success! This Dark mode is quite different than on Mojave.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’19
Reply to How to get foreground running app name using a background service
I agree w/JP, and as in the past, add this note. Your app, however well intentioned, is no replacement for proper parenting. Make an app that helps with that, not something that offers to offload that responsibility.
Replies
Boosts
Views
Activity
Jul ’19
Offload MDM distributed apps
Is it possible for MDM distributed apps to be offloaded? Is there any way to prevent an app to be exempt from offloading, if this option was enabled?
Replies
0
Boosts
0
Views
696
Activity
Jun ’19
Questions for Security lab (Tuesday, June 4th at 11:00 AM)
Auditing:Question: What will change/improve in proper way to offload audit information (log to SIEM systems) comparable to Apple > GitHub > swift-log idea, but build into OS auditing systems?Answer:File a Radar to request streaming of OpenBSM logs to syslog.File another Radar to request macOS Catalina be upgraded with the latest version of OpenBSM, which supports exporting to plain text natively.FileVault:Question: In the WWDC Catalina beta, enabling FileVault with fdesetup includes a dialog window for user approval (see below). Is there a way to suppress this window from appearing?Answer: Dialog window was added as ransomware protection. File a Radar to request an MDM option for suppressing dialog window.Endpoint Security:Question: Will the new EndpointSecurity framework be available for iOS/iPadOS?Answer: No.Kernel Extensions:Question: Any timeline on when they will be fully deprecated?Answer: Apple does not comment on future product releases.Question: Beyond disabling SIP, are there other wa
Replies
1
Boosts
0
Views
3.0k
Activity
Jun ’19
MTKView Drawing Performance
What I am Trying to DoI am trying to show filters on a camera feed by using a Metal view: MTKView. I am closely following the method of Apple's sample code - Enhancing Live Video by Leveraging TrueDepth Camera Data - linkWhat I Have So FarFollowing code works great (mainly interpreted from above-mentioned sample code) :class MetalObject: NSObject, MTKViewDelegate { private var metalBufferView : MTKView? private var metalDevice = MTLCreateSystemDefaultDevice() private var metalCommandQueue : MTLCommandQueue! private var ciContext : CIContext! private let colorSpace = CGColorSpaceCreateDeviceRGB() private var videoPixelBuffer : CVPixelBuffer? private let syncQueue = DispatchQueue(label: Preview View Sync Queue, qos: .userInitiated, attributes: [], autoreleaseFrequency: .workItem) private var textureWidth : Int = 0 private var textureHeight : Int = 0 private var textureMirroring = false private var sampler : MTLSamplerState! private var renderPipelineState : MTLRenderPipelineState! private var vertexCoordBuffer
Replies
0
Boosts
0
Views
2.9k
Activity
Apr ’19
Playgrounds keep offloading to cloud - how to prevent it?
In Swift Playgrounds app playgrounds keep offloading to cloud (after a period of inactivity), and I constantly have to download them again and again to use them. How to disable this and always keep all playgrounds on my device?
Replies
0
Boosts
0
Views
1k
Activity
Feb ’19
Reply to Still no way to create a 'fall through' layer
With respect, herein lies the issue. If you were to handle all touch detection only in the SKScene class, that would make it easier to determine which node should receive the touch. However, in any complex system, you would (at least in my opinion) distribute touch handling to objects themselves.For example, I have a Button class that I use in all my projects, which is subclassed from SKNode. Button receives and handles its own touches, so that such logic doesn't have to be repeated multiple times in each SKScene, in each project. Buttons tend to be important elements, so you're likely to find one in each SKScene in your project, making it highly efficient to offload this particular logic to the object class. So when I want to use a button, I instantiate Button in an SKScene, feed it the functionality I want it to perform upon touching and it works out of the box.Since touch handling is distributed, you can't really loop through and consider touch fallthrough per node. Consider a custom scroll view c
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Feb ’19
Reply to In-house distribution & offloading?
AFAIK, offloading expects the app to be in the store.Perhaps an MDM vendor would be able to provide a replicated process that works w/internally distributed apps that reside on your own servers.
Replies
Boosts
Views
Activity
Dec ’18
In-house distribution & offloading?
Is it possible to make In-house distribution compatible with offloading? If not, is the Custom Distribution compatible?An in general: Can u deactivate offloading for your app as a developer? The current scenario is, that when ever our B2B app is offloaded, the user can not just redownload it via the native UI, but has to manually reinstall the Application.
Replies
1
Boosts
0
Views
921
Activity
Dec ’18
Reply to Core Data Deadlocks
We recently solved a similar issue by removing one of our contexts. We had our a main queue context writing into a private queue context which would then write to the persistent store coordinator (Same as your root context). This was done to offload saving to disk to a background queue. On iOS 12 beta 5, this seemed to be causing the deadlock. We pointed our main queue context to the store coordinator directly, and removed the final private queue context, which resolved it. Write now happen on the main thread, but the app runs.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’18
Reply to Does someone in this world have a working code with background fetch?
All I need is to check the data on the network every three hours and issue a warning when checking.This isn’t really the intended use case for background fetch. The idea behind background fetch is that the system learns when the user is using the app and, if the user is regularly using it at specific times, the system sends the app a background fetch event before that time so that it can refresh. For example:The user might run a social media app regularly throughout the day, so the system would send that app regular background fetch events.The user might run their news app at breakfast time, so the system would send that app a background fetch event early in the morning.The user might have a second news app on their device but never run it, in which case that app would never get any background fetch events.Background fetch does not guarantee regular background fetch events. Indeed, there is no mechanism on iOS that guarantees regular execution in the background.Once your app has checked the data on the networ
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’18