Search results for

“offloading”

193 results found

Post

Replies

Boosts

Views

Activity

Will Cordova applications that download additional JavaScript be rejected
My team has been toying with the idea of developing an iOS app using Cordova, and recently, we've been looking into offloading as much of the main JavaScript as possible to our server, so any major bug fixes can be deployed quickly.The idea would be to have:the native app containing all HTML, CSS, plugins and Cordova files (all native code would be here)the main JavaScript added to the pages as external scripts from a servera device-ready function for each page that will set up and start the main JavaScript once it's availableI have seen comments that Apple could be trusting of code that runs in a webview, but it does seem like projects like this could be a security issue.Thanks!
3
0
1.2k
Oct ’15
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
CLLocationManager and WatchKit Extension Best Practices
Can anyone here point me in the right direction if I want to continuously update the user's location in my WatchKit Extension? I know the interface exposed in CLLocationManager in watchOS 2 only allows for one-shot updates, so presumably I'll need to offload that to the iOS app. The Potloc sample code is a good starting point for doing that, but is there anywhere that explicitly spells out the requirements? Do I need to include the usage key in the info plist in both my extension and the iOS app? Do I need to set allowsBackgroundLocationUpdates to YES in the iOS app and include the background mode for the iOS app to get location updates to provide to my extension? (I assume yes to both, but just want to check)
0
0
377
Dec ’15
Reply to Recommandations for network and server-side improvements to network delays
This answer is for home routers. Much of the bufferbloat on the internet is on the home router and ISP head ends. There is only so much you can do end-to-end - and the advice in the video is primarily targeted at LTE <-> server interactions. Definitely take a hard look at your server behaviors as I wrote above! I've written a lot and given many presentations on the bufferbloat problems in the typical home or office network, one of the more amusing is here: https://blog.apnic.net/2020/01/22/bufferbloat-may-be-solved-but-its-not-over-yet/ To improve the ISP link... encourage your customers to get better home routers with Smart Queue Management (SQM), and fq-codel for the wifi. It's universally available from third party router firmwares like openwrt, dd-wrt, merlin, and tomato. It's also available for most gamer routers (netduma calls it anti-bufferbloat), it's the premier feature of the evenroute (eero also), ubnt's edgerouter products and the udm pro also have sqm. IP fire, tangledOS also, it's a really
Oct ’21
Turi Create resource utilization
I'm looking into utilizing a cloud Linux machine to create and train my machine learning drawing classifier model with Turi Create. If I use my MacBook Pro it'll take at least 55 hours, so I want to offload that work and speed it up dramatically allowing me to iterate on the model to get the best result. Now there's a lot of options for RAM, CPU, and GPU capabilities. What will Turi Create take advantage of? For example, if I run it on a machine with 96 CPU cores will it utilize them all and possibly speed it up to minutes rather than days, or would a better GPU be preferred? How much RAM would be good? I'll be training it to recognize 6500 classes with 20 images of each. Thanks!
0
0
683
Jun ’20
Permission to bulk operate on other apps
I would like to create an application that let's a user bulk operate on apps. Some features: Bulk operations: - delete - organize by color (some like organizing their screens by color) - organize by type (education, reading, games, etc.) - organize apps which users want to hide - organize last access time - bulk offload apps (removing the app, saving the data) I am struggling to find, however, any notion of enabling permissions for this in an apple app. The permission I am looking for is akin to a user allowing an app to delete (duplicate) photos/videos off of their device. The area I think it would be is here: https://developer.apple.com/documentation/bundleresources/entitlements If this functionality exists, can I please be directed to the documentation for this? Many thanks! Best, Daniel Connelly
4
0
1k
Nov ’21
DELETED APP PERMANENTLY OFF HOME SCREEN AND CANNOT GET IT BACK- I’VE TRIED EVERYTHING!!
I deleted an app off of my screen and from my app library and cannot get it back. I also added face ID only to get in. The only way that I can get to the app is from the app store by searching it up and pressing open. I cannot search it on the home screen or app library. I’ve been on settings>general>iPhone storage>hidden apps to delete it but it takes just displays the loading circle and doesn’t do a thing. I’ve offloaded the app and redownloaded it and it still won’t appear. It’s a massive pain to have to go onto the app store and search it up every time i need to open it (which is around 20 times a day 😭) and I would really appreciate a solution. Believe me- I have tried EVERYTHING!
1
0
313
Nov ’24
Confirm Hotspot 2.0 (passpoint R2 and R3) support in iOS device
Hello all, I am working on a project to connect to infra-WIFI via hotspot 2.0 (passpoint in WiFi alliance) from a loyalty app (to load trust anchor and client certificate) into iOS device using EAP-TLS. Apple's documentation only describe generic hotspot 2.0 support (probably R1). The UX for loading certificate is not user friendly compare with Android. I wish to confirm if iOS can support Passpoint R2 / R3 from apple to complete the App UX design. Please advise. Thanks. I am not doing EAP-AKA like what mobile telco ATT does for cellular offload to infrastructure WiFi for data traffic. This URL outline what is passpoint well for reference. https://syndicated.wifinowglobal.com/resource/secure-and-seamless-carrier-wi-fi-services-with-passpoint/
1
0
611
Jul ’24
Please Help! App won't open for 1 user, Just fades away.
[https://vimeo.com/manage/videos/1051990313) We are experiencing an issue where a user is unable to open our app on their iPhone 16 Pro Max running iOS 18.3. When the user selects the app, it begins to scale to screen size but then fades away without fully opening. It is unclear whether this is a crash or another issue. To troubleshoot, we created a simplified version of the app containing only a single screen displaying Hello, World. The user experiences the same issue with this version, leading us to believe there may be a device-specific setting or compatibility issue at play. Steps the User Has Tried: Checked device storage – over 200GB available Offloaded and reinstalled the app Deleted and reinstalled the app Updated to iOS 18.3 Forced restart of the device Reset network settings Turned off VPN Despite these steps, the issue persists. We would appreciate any guidance on potential causes or troubleshooting steps to resolve this issue.
3
0
275
Jan ’25
iOS App Store keeps installing TestFlight version of app instead of App Store version
I'm having an issue with an app installation on my iPhone where it keeps installing the latest TestFlight version instead of the public App Store version. Here are the details: I initially installed version 1.24 of the app via TestFlight. I then uninstalled both the app and TestFlight and tried to reinstall the app from the App Store, which should be version 1.6 (the current public release). Despite this, the App Store keeps installing version 1.24, which is the TestFlight version. Here’s what I’ve tried so far: Uninstalled both the app and TestFlight. Restarted the iPhone to clear any cached data. Tried offloading and reinstalling the App Store app through Settings to clear its cache. Reinstalled only the App Store version, but the device still downloads the TestFlight release. Has anyone experienced this before? Are there additional steps I can take to reset the association to the App Store version? Any insights would be greatly appreciated. Thank you!
1
0
706
Oct ’24
How to increment ios badge notifiation count when app is not running?
We are already done with the initial setup for implementing Push notifications and are able to send/receive notifications successfully.Now, we have been looking for the possible solutions to handle badge count increment from ios app (especially when app is not in foreground) -1. Delegate the badge count calculation to server side. - If we think of offloading the task of badge calculation to app server, then question arises is that, how server side will get to know about the count of viewed notifications so that badge can be decremented accordingly.2. Use UIBackgroundModes and call 'didReceiveRemoteNotification:fetchCompletionHandler' method. - Apple says, this method will get called when my app is either in foreground or background state. With this we should be able to track the count/notification info even when the app is in background & thus it probably enables us to do the necessary calculation in iOS app itself. However, we have noticed that this method doesn't invoke when app is in backgroun
1
0
5.1k
Jul ’15
Performant alternative to scaling a CIImage / PixelBuffer
Hey, I’m building a camera app where I am applying real time effects to the view finder. One of those effects is a variable blur, so to improve performance I am scaling down the input image using CIFilter.lanczosScaleTransform(). This works fine and runs at 30FPS, but when running the metal profiler I can see that the scaling transforms use a lot of GPU time, almost as much as the variable blur. Is there a more efficient way to do this? The simplified chain is like this: Scale down viewFinder CVPixelBuffer (CIFilter.lanczosScaleTransform) Scale up depthMap CVPixelBuffer to match viewFinder size (CIFilter.lanczosScaleTransform) Create CIImages from both CVPixelBuffers Apply VariableDepthBlur (CIFilter.maskedVariableBlur) Scale up final image to metal view size (CIFilter.lanczosScaleTransform) Render CIImage to a MTKView using CIRenderDestination From some research, I wonder if scaling the CVPixelBuffer using the accelerate framework would be faster? Also, Instead of scaling the final image, perhaps I could offload
2
0
1.2k
Jul ’24
Float64 (Double Precision) Support on MPS with PyTorch on Apple Silicon?
Hi everyone, This project uses PyTorch on an Apple Silicon Mac (M1/M2/etc.), and the goal is to use the MPS backend for GPU acceleration, notes Apple Developer. However, the workflow depends on Float64 (double-precision) floating-point numbers for certain computations, notes PyTorch Forums. The error Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead has been encountered, notes GitHub. It seems that the MPS backend doesn't currently support Float64 for direct GPU computation. Questions for the community: Are there any known workarounds or best practices for handling Float64-dependent operations when using the MPS backend with PyTorch? For those working with high-precision tasks on Apple Silicon, what strategies are being used to balance performance with the need for Float64? Offloading to the CPU is an option, and it's of interest to know if there are any specific techniques or libraries within the Apple ecosystem that could streamlin
2
0
557
Aug ’25
Bindless/GPU-Driven approach with dynamic scenes?
I have been experimenting with different rendering approaches in Metal and am hitting a wall when it comes to reconciling bindless or GPU-driven approaches* with a dynamic scene where meshes can be added, removed, and changed. All the examples I have found of such approaches use fixed scenes, where all the data is fixed before the first draw call into something like a MeshBuffer that holds all scene geometry in the form of Mesh objects (for instance). While I can assume that recreating a MeshBuffer from scratch each frame would be possible but completely undesirable, and that there may be some clever tricks with pointers to update a MeshBuffer as needed, I would like to know if there is an established or optimal solution to this problem, or if these approaches are simply incompatible with dynamic geometry. Any example projects that do what I am asking that I may have missed would be appreciated, too. * I know these are not the same, but seem to share some common characteristics, namely providing your entire g
3
0
1.6k
Jun ’23
macOS NEFilterDataProvider best practices?
I've seen some discussion around performance on the forums but nothing official. What is the best practice for [handleNewFlow:] , [handleOutboundDataFromFlow:], and [handleInboundDataFromFlow:] callbacks in a content filter? Are all flows funneled through a single serial queue that calls into my subclass? If so this seems like we are back in the days of early OS X with the kernel network funnel serializing all network traffic. Should I offload flow processing onto a concurrent queue and then pause the flow and return from my callback? Or just do all processing in the callbacks? And once I return an allow/deny verdict for the flow (without asking for more data) do I no longer see that flow's traffic in my content filter? That's what I would expect and it seems to be the case in actual practice too. For reference I never need to interact with the user. All of the rules are loaded from an EDR platform. I bring this up because we have users complaining of stuttering during Google Meet / Zoom, etc when ou
4
0
963
Aug ’23
Will Cordova applications that download additional JavaScript be rejected
My team has been toying with the idea of developing an iOS app using Cordova, and recently, we've been looking into offloading as much of the main JavaScript as possible to our server, so any major bug fixes can be deployed quickly.The idea would be to have:the native app containing all HTML, CSS, plugins and Cordova files (all native code would be here)the main JavaScript added to the pages as external scripts from a servera device-ready function for each page that will set up and start the main JavaScript once it's availableI have seen comments that Apple could be trusting of code that runs in a webview, but it does seem like projects like this could be a security issue.Thanks!
Replies
3
Boosts
0
Views
1.2k
Activity
Oct ’15
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
Replies
0
Boosts
0
Views
1.2k
Activity
Nov ’17
CLLocationManager and WatchKit Extension Best Practices
Can anyone here point me in the right direction if I want to continuously update the user's location in my WatchKit Extension? I know the interface exposed in CLLocationManager in watchOS 2 only allows for one-shot updates, so presumably I'll need to offload that to the iOS app. The Potloc sample code is a good starting point for doing that, but is there anywhere that explicitly spells out the requirements? Do I need to include the usage key in the info plist in both my extension and the iOS app? Do I need to set allowsBackgroundLocationUpdates to YES in the iOS app and include the background mode for the iOS app to get location updates to provide to my extension? (I assume yes to both, but just want to check)
Replies
0
Boosts
0
Views
377
Activity
Dec ’15
Reply to Recommandations for network and server-side improvements to network delays
This answer is for home routers. Much of the bufferbloat on the internet is on the home router and ISP head ends. There is only so much you can do end-to-end - and the advice in the video is primarily targeted at LTE <-> server interactions. Definitely take a hard look at your server behaviors as I wrote above! I've written a lot and given many presentations on the bufferbloat problems in the typical home or office network, one of the more amusing is here: https://blog.apnic.net/2020/01/22/bufferbloat-may-be-solved-but-its-not-over-yet/ To improve the ISP link... encourage your customers to get better home routers with Smart Queue Management (SQM), and fq-codel for the wifi. It's universally available from third party router firmwares like openwrt, dd-wrt, merlin, and tomato. It's also available for most gamer routers (netduma calls it anti-bufferbloat), it's the premier feature of the evenroute (eero also), ubnt's edgerouter products and the udm pro also have sqm. IP fire, tangledOS also, it's a really
Replies
Boosts
Views
Activity
Oct ’21
Turi Create resource utilization
I'm looking into utilizing a cloud Linux machine to create and train my machine learning drawing classifier model with Turi Create. If I use my MacBook Pro it'll take at least 55 hours, so I want to offload that work and speed it up dramatically allowing me to iterate on the model to get the best result. Now there's a lot of options for RAM, CPU, and GPU capabilities. What will Turi Create take advantage of? For example, if I run it on a machine with 96 CPU cores will it utilize them all and possibly speed it up to minutes rather than days, or would a better GPU be preferred? How much RAM would be good? I'll be training it to recognize 6500 classes with 20 images of each. Thanks!
Replies
0
Boosts
0
Views
683
Activity
Jun ’20
Permission to bulk operate on other apps
I would like to create an application that let's a user bulk operate on apps. Some features: Bulk operations: - delete - organize by color (some like organizing their screens by color) - organize by type (education, reading, games, etc.) - organize apps which users want to hide - organize last access time - bulk offload apps (removing the app, saving the data) I am struggling to find, however, any notion of enabling permissions for this in an apple app. The permission I am looking for is akin to a user allowing an app to delete (duplicate) photos/videos off of their device. The area I think it would be is here: https://developer.apple.com/documentation/bundleresources/entitlements If this functionality exists, can I please be directed to the documentation for this? Many thanks! Best, Daniel Connelly
Replies
4
Boosts
0
Views
1k
Activity
Nov ’21
DELETED APP PERMANENTLY OFF HOME SCREEN AND CANNOT GET IT BACK- I’VE TRIED EVERYTHING!!
I deleted an app off of my screen and from my app library and cannot get it back. I also added face ID only to get in. The only way that I can get to the app is from the app store by searching it up and pressing open. I cannot search it on the home screen or app library. I’ve been on settings>general>iPhone storage>hidden apps to delete it but it takes just displays the loading circle and doesn’t do a thing. I’ve offloaded the app and redownloaded it and it still won’t appear. It’s a massive pain to have to go onto the app store and search it up every time i need to open it (which is around 20 times a day 😭) and I would really appreciate a solution. Believe me- I have tried EVERYTHING!
Replies
1
Boosts
0
Views
313
Activity
Nov ’24
Confirm Hotspot 2.0 (passpoint R2 and R3) support in iOS device
Hello all, I am working on a project to connect to infra-WIFI via hotspot 2.0 (passpoint in WiFi alliance) from a loyalty app (to load trust anchor and client certificate) into iOS device using EAP-TLS. Apple's documentation only describe generic hotspot 2.0 support (probably R1). The UX for loading certificate is not user friendly compare with Android. I wish to confirm if iOS can support Passpoint R2 / R3 from apple to complete the App UX design. Please advise. Thanks. I am not doing EAP-AKA like what mobile telco ATT does for cellular offload to infrastructure WiFi for data traffic. This URL outline what is passpoint well for reference. https://syndicated.wifinowglobal.com/resource/secure-and-seamless-carrier-wi-fi-services-with-passpoint/
Replies
1
Boosts
0
Views
611
Activity
Jul ’24
Please Help! App won't open for 1 user, Just fades away.
[https://vimeo.com/manage/videos/1051990313) We are experiencing an issue where a user is unable to open our app on their iPhone 16 Pro Max running iOS 18.3. When the user selects the app, it begins to scale to screen size but then fades away without fully opening. It is unclear whether this is a crash or another issue. To troubleshoot, we created a simplified version of the app containing only a single screen displaying Hello, World. The user experiences the same issue with this version, leading us to believe there may be a device-specific setting or compatibility issue at play. Steps the User Has Tried: Checked device storage – over 200GB available Offloaded and reinstalled the app Deleted and reinstalled the app Updated to iOS 18.3 Forced restart of the device Reset network settings Turned off VPN Despite these steps, the issue persists. We would appreciate any guidance on potential causes or troubleshooting steps to resolve this issue.
Replies
3
Boosts
0
Views
275
Activity
Jan ’25
iOS App Store keeps installing TestFlight version of app instead of App Store version
I'm having an issue with an app installation on my iPhone where it keeps installing the latest TestFlight version instead of the public App Store version. Here are the details: I initially installed version 1.24 of the app via TestFlight. I then uninstalled both the app and TestFlight and tried to reinstall the app from the App Store, which should be version 1.6 (the current public release). Despite this, the App Store keeps installing version 1.24, which is the TestFlight version. Here’s what I’ve tried so far: Uninstalled both the app and TestFlight. Restarted the iPhone to clear any cached data. Tried offloading and reinstalling the App Store app through Settings to clear its cache. Reinstalled only the App Store version, but the device still downloads the TestFlight release. Has anyone experienced this before? Are there additional steps I can take to reset the association to the App Store version? Any insights would be greatly appreciated. Thank you!
Replies
1
Boosts
0
Views
706
Activity
Oct ’24
How to increment ios badge notifiation count when app is not running?
We are already done with the initial setup for implementing Push notifications and are able to send/receive notifications successfully.Now, we have been looking for the possible solutions to handle badge count increment from ios app (especially when app is not in foreground) -1. Delegate the badge count calculation to server side. - If we think of offloading the task of badge calculation to app server, then question arises is that, how server side will get to know about the count of viewed notifications so that badge can be decremented accordingly.2. Use UIBackgroundModes and call 'didReceiveRemoteNotification:fetchCompletionHandler' method. - Apple says, this method will get called when my app is either in foreground or background state. With this we should be able to track the count/notification info even when the app is in background & thus it probably enables us to do the necessary calculation in iOS app itself. However, we have noticed that this method doesn't invoke when app is in backgroun
Replies
1
Boosts
0
Views
5.1k
Activity
Jul ’15
Performant alternative to scaling a CIImage / PixelBuffer
Hey, I’m building a camera app where I am applying real time effects to the view finder. One of those effects is a variable blur, so to improve performance I am scaling down the input image using CIFilter.lanczosScaleTransform(). This works fine and runs at 30FPS, but when running the metal profiler I can see that the scaling transforms use a lot of GPU time, almost as much as the variable blur. Is there a more efficient way to do this? The simplified chain is like this: Scale down viewFinder CVPixelBuffer (CIFilter.lanczosScaleTransform) Scale up depthMap CVPixelBuffer to match viewFinder size (CIFilter.lanczosScaleTransform) Create CIImages from both CVPixelBuffers Apply VariableDepthBlur (CIFilter.maskedVariableBlur) Scale up final image to metal view size (CIFilter.lanczosScaleTransform) Render CIImage to a MTKView using CIRenderDestination From some research, I wonder if scaling the CVPixelBuffer using the accelerate framework would be faster? Also, Instead of scaling the final image, perhaps I could offload
Replies
2
Boosts
0
Views
1.2k
Activity
Jul ’24
Float64 (Double Precision) Support on MPS with PyTorch on Apple Silicon?
Hi everyone, This project uses PyTorch on an Apple Silicon Mac (M1/M2/etc.), and the goal is to use the MPS backend for GPU acceleration, notes Apple Developer. However, the workflow depends on Float64 (double-precision) floating-point numbers for certain computations, notes PyTorch Forums. The error Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead has been encountered, notes GitHub. It seems that the MPS backend doesn't currently support Float64 for direct GPU computation. Questions for the community: Are there any known workarounds or best practices for handling Float64-dependent operations when using the MPS backend with PyTorch? For those working with high-precision tasks on Apple Silicon, what strategies are being used to balance performance with the need for Float64? Offloading to the CPU is an option, and it's of interest to know if there are any specific techniques or libraries within the Apple ecosystem that could streamlin
Replies
2
Boosts
0
Views
557
Activity
Aug ’25
Bindless/GPU-Driven approach with dynamic scenes?
I have been experimenting with different rendering approaches in Metal and am hitting a wall when it comes to reconciling bindless or GPU-driven approaches* with a dynamic scene where meshes can be added, removed, and changed. All the examples I have found of such approaches use fixed scenes, where all the data is fixed before the first draw call into something like a MeshBuffer that holds all scene geometry in the form of Mesh objects (for instance). While I can assume that recreating a MeshBuffer from scratch each frame would be possible but completely undesirable, and that there may be some clever tricks with pointers to update a MeshBuffer as needed, I would like to know if there is an established or optimal solution to this problem, or if these approaches are simply incompatible with dynamic geometry. Any example projects that do what I am asking that I may have missed would be appreciated, too. * I know these are not the same, but seem to share some common characteristics, namely providing your entire g
Replies
3
Boosts
0
Views
1.6k
Activity
Jun ’23
macOS NEFilterDataProvider best practices?
I've seen some discussion around performance on the forums but nothing official. What is the best practice for [handleNewFlow:] , [handleOutboundDataFromFlow:], and [handleInboundDataFromFlow:] callbacks in a content filter? Are all flows funneled through a single serial queue that calls into my subclass? If so this seems like we are back in the days of early OS X with the kernel network funnel serializing all network traffic. Should I offload flow processing onto a concurrent queue and then pause the flow and return from my callback? Or just do all processing in the callbacks? And once I return an allow/deny verdict for the flow (without asking for more data) do I no longer see that flow's traffic in my content filter? That's what I would expect and it seems to be the case in actual practice too. For reference I never need to interact with the user. All of the rules are loaded from an EDR platform. I bring this up because we have users complaining of stuttering during Google Meet / Zoom, etc when ou
Replies
4
Boosts
0
Views
963
Activity
Aug ’23