Search results for

“offloading”

183 results found

Post

Replies

Boosts

Views

Activity

Reply to Other Storage Taking Too Much Space
I was struggling with having over 500gb used of 1TB with over 300gb dedicated to Other Initially, I had 200gb worth of videos that I offloaded, then removed from the deleted folder. Seems that the needle didn't move much and for nearly a day, it stated I had 85gb worth of videos left. After seeing the alarm comment with 35gb of data, it hit me. I was using FilmIC Pro to record some of my videos because it has a pause feature which is really nice. I do have it set to save to my photos album, but FilmIc uses a system folder (maybe because it is hidden) to record the video before it transfers over to Photos. FilmIC can also be setup to not sent anything to the photos album. It has its own camera roll. So, it is a matter of choice. I choose for it to go to the photos folder so that I can see it immediately. So why didn't FilmIc clear the cache I wondered. I rebooted the phone earlier and it didn't work. So then, I opened up the photos app, looked to ensure nothing was in deleted folder, then swiped up to
Mar ’22
TTS Alex voice is treated like available when it's actually not
Hello everybody! In my app I allow the user to change TTS voices and English Alex voice is one of possible options. However, there are some cases when it's treated as available when it's actually not. It results in pronouncing the TTS utterance with another voice. To prepare the list of available voices I use next code: NSMutableArray *voices = [NSMutableArray new]; for (AVSpeechSynthesisVoice *voice in [AVSpeechSynthesisVoice speechVoices]) { tt[voices addObject:@{ tttt@id: voice.identifier, tttt@name: voice.name, tttt@language: voice.language, tttt@quality: (voice.quality == AVSpeechSynthesisVoiceQualityEnhanced) ? @500 : @300 tt}]; } To start the playback I use the next code (here it's simplified a bit): AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc] initWithString:text]; utterance.voice = [AVSpeechSynthesisVoice voiceWithIdentifier:voice]; [AVSpeechSynthesizer speakUtterance:utterance]; Cases when AVSpeechSynthesisVoice returns Alex as available when it's not: The easiest way to reproduce it is
3
0
2.7k
Dec ’21
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
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
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
Oct ’21
I’m crashing in codm
the new ios 14.8 update makes codm unplayable, it crashes mid game when im playing 20-30 minutes of game time my device is iphone 8, i tried everything you guys recommended, like reinstalling the app (also offloading the app), hard reset, turn on and off my phone, but all of these techniques i try is not working, i hope you guys can help me out.
1
0
550
Sep ’21
Reply to UrlSession with TLS client authentication
Hi eskimo, we would like our watch app to work without the phone nearby, so offloading the work to the iOS app is not an option for us. Using console app, I can see three errors: The CredStore - copyIdentPrefs - Error copying Identity cred. Error=-25300 error described above. An exception Exception: decodeObjectForKey: Object of class NSURLCredential returned nil from -initWithCoder: while being decoded for key An error TLS Client Certificates encountered error 1:89
Topic: App & System Services SubTopic: General Tags:
Aug ’21
Low level API to take control of Neural Engine
Hi, I would love to code with the Neural Engine on my macbook pro M1 2020. Is there any low-level API to create my very own work-loads? I am working with audio and MIDI. As well sound synthesis and mixing. Can I use the Neural Engine to offload the CPU? I am especially interested in parallelism using threads. My programming lanuage of choice is ANSI C and Objective C.
4
0
12k
Aug ’21
Reply to UrlSession with TLS client authentication
… is mTLS just not supported on watchOS? That’s my understanding based on the bug I referenced above (r. 24523955). One workaround is to use Watch Connectivity to offload this work to your iOS app, where mTLS is available. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Aug ’21
Reply to Low level API to take control of Neural Engine
I feel you have a bit wrong idea what Neural Engine is. It have nothing common to CPU or GPU - it's just a machine learning accelerator with very limited area of application - even not every layer type in your model can be used. Look at This FAQ for better understanding what it is and what it can. Q: Is there any low-level API to create my very own work-loads? A: Yes and No. Low level AppleNeuralEngine.framework is private to Apple and you can't use it. But: take a look at ANE Tools - compiler and decompiler for Neural Engine. Also there is coremltools - this will help to interface with TensorFlow and PyTorch Q: Can I use the Neural Engine to offload the CPU? I am especially interested in parallelism using threads. A: Basically - No. ANE can't execute CPU/GPU code and don't have threads. It operates with layer connectivity map and net weights. One more thing - vDSP and veclib DONT use ANE.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’21
Reply to How to save return value from function in swift ui and use it
Well from a design perspective I like to use @State variables in views just for dealing with state in the view. What you're doing would seem to classify as part of the business logic of your app so I would offload that logic away from your view to your model or view model. Look up MVVM if you don't know what these are. Anyway if you were to take an MVVM approach your code might look like: struct ContentView: View { @ObservedObject var viewModel: MyViewModel var body: some View { Button(action: { viewModel.readApk() }) { Text(Read Apk) } .padding() Button(action: { viewModel.signApk() }) { Text(Sign Apk) } .padding() } } With this approach processString, usingDirString, and returnDirString are all abstracted away from your view. By keeping your view code and your business logic separate it makes it easier to deal with each of them in a more isolated and clear manner.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’21
Reply to Localization in Xcode
Discussed this more with cross-functional teams and not using keys a no-go. This will not work if you want to share localization efforts across platforms beyond Apple which is more of a real-world scenario especially in enterprise settings. For example, Android requires localization keys to not have dots and other kinds of characters, also we found many 3rd party localization services had a character limit on key length. And when looking at very long localization entries, using the value as the key just doesn't make sense. I think sticking with my first intuition in using localization keys is the right way despite all the Apple sessions and samples showing otherwise. Also, just to share I was able to achieve isolating localization configurations by extending Text views to initialize from other Text views. This way, I can offload the localization configurations off the view by creating a bunch of static Text views and let the rest of the app pick them off the shelf. First I create the simple but awkwa
Jun ’21
Reply to Looking for a solution to replace UILocalNotifications
Offloading the alert logic to your servers and implementing push notifications (whether using a 3rd party push provider service, or maintaining your own push server), then sending these notifications at the intervals you wish, and developing notification scheduling as complicated as you can is definitely an option. Currently there is no way to accomplish what you want using local notifications.
Jun ’21
Reply to Other Storage Taking Too Much Space
I was struggling with having over 500gb used of 1TB with over 300gb dedicated to Other Initially, I had 200gb worth of videos that I offloaded, then removed from the deleted folder. Seems that the needle didn't move much and for nearly a day, it stated I had 85gb worth of videos left. After seeing the alarm comment with 35gb of data, it hit me. I was using FilmIC Pro to record some of my videos because it has a pause feature which is really nice. I do have it set to save to my photos album, but FilmIc uses a system folder (maybe because it is hidden) to record the video before it transfers over to Photos. FilmIC can also be setup to not sent anything to the photos album. It has its own camera roll. So, it is a matter of choice. I choose for it to go to the photos folder so that I can see it immediately. So why didn't FilmIc clear the cache I wondered. I rebooted the phone earlier and it didn't work. So then, I opened up the photos app, looked to ensure nothing was in deleted folder, then swiped up to
Replies
Boosts
Views
Activity
Mar ’22
TTS Alex voice is treated like available when it's actually not
Hello everybody! In my app I allow the user to change TTS voices and English Alex voice is one of possible options. However, there are some cases when it's treated as available when it's actually not. It results in pronouncing the TTS utterance with another voice. To prepare the list of available voices I use next code: NSMutableArray *voices = [NSMutableArray new]; for (AVSpeechSynthesisVoice *voice in [AVSpeechSynthesisVoice speechVoices]) { tt[voices addObject:@{ tttt@id: voice.identifier, tttt@name: voice.name, tttt@language: voice.language, tttt@quality: (voice.quality == AVSpeechSynthesisVoiceQualityEnhanced) ? @500 : @300 tt}]; } To start the playback I use the next code (here it's simplified a bit): AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc] initWithString:text]; utterance.voice = [AVSpeechSynthesisVoice voiceWithIdentifier:voice]; [AVSpeechSynthesizer speakUtterance:utterance]; Cases when AVSpeechSynthesisVoice returns Alex as available when it's not: The easiest way to reproduce it is
Replies
3
Boosts
0
Views
2.7k
Activity
Dec ’21
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
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
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
Replies
3
Boosts
0
Views
3.3k
Activity
Oct ’21
I’m crashing in codm
the new ios 14.8 update makes codm unplayable, it crashes mid game when im playing 20-30 minutes of game time my device is iphone 8, i tried everything you guys recommended, like reinstalling the app (also offloading the app), hard reset, turn on and off my phone, but all of these techniques i try is not working, i hope you guys can help me out.
Replies
1
Boosts
0
Views
550
Activity
Sep ’21
Reply to UrlSession with TLS client authentication
Hi eskimo, we would like our watch app to work without the phone nearby, so offloading the work to the iOS app is not an option for us. Using console app, I can see three errors: The CredStore - copyIdentPrefs - Error copying Identity cred. Error=-25300 error described above. An exception Exception: decodeObjectForKey: Object of class NSURLCredential returned nil from -initWithCoder: while being decoded for key An error TLS Client Certificates encountered error 1:89
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’21
Low level API to take control of Neural Engine
Hi, I would love to code with the Neural Engine on my macbook pro M1 2020. Is there any low-level API to create my very own work-loads? I am working with audio and MIDI. As well sound synthesis and mixing. Can I use the Neural Engine to offload the CPU? I am especially interested in parallelism using threads. My programming lanuage of choice is ANSI C and Objective C.
Replies
4
Boosts
0
Views
12k
Activity
Aug ’21
Reply to UrlSession with TLS client authentication
… is mTLS just not supported on watchOS? That’s my understanding based on the bug I referenced above (r. 24523955). One workaround is to use Watch Connectivity to offload this work to your iOS app, where mTLS is available. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to Low level API to take control of Neural Engine
I feel you have a bit wrong idea what Neural Engine is. It have nothing common to CPU or GPU - it's just a machine learning accelerator with very limited area of application - even not every layer type in your model can be used. Look at This FAQ for better understanding what it is and what it can. Q: Is there any low-level API to create my very own work-loads? A: Yes and No. Low level AppleNeuralEngine.framework is private to Apple and you can't use it. But: take a look at ANE Tools - compiler and decompiler for Neural Engine. Also there is coremltools - this will help to interface with TensorFlow and PyTorch Q: Can I use the Neural Engine to offload the CPU? I am especially interested in parallelism using threads. A: Basically - No. ANE can't execute CPU/GPU code and don't have threads. It operates with layer connectivity map and net weights. One more thing - vDSP and veclib DONT use ANE.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to How to save return value from function in swift ui and use it
Well from a design perspective I like to use @State variables in views just for dealing with state in the view. What you're doing would seem to classify as part of the business logic of your app so I would offload that logic away from your view to your model or view model. Look up MVVM if you don't know what these are. Anyway if you were to take an MVVM approach your code might look like: struct ContentView: View { @ObservedObject var viewModel: MyViewModel var body: some View { Button(action: { viewModel.readApk() }) { Text(Read Apk) } .padding() Button(action: { viewModel.signApk() }) { Text(Sign Apk) } .padding() } } With this approach processString, usingDirString, and returnDirString are all abstracted away from your view. By keeping your view code and your business logic separate it makes it easier to deal with each of them in a more isolated and clear manner.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21
Extract Images from CaptureSample App
Hi there, How's best to offload the images taken within the Capture Sample app to Desktop? Apologies if I'm missing the obvious. Many thanks, Allen
Replies
4
Boosts
0
Views
2.9k
Activity
Jun ’21
Reply to Xcode Cloud for a solo developer?
Huge benefits I think depending on what the price is though. Being able to offload your builds is great and even if you are a solo developer you have users I am assuming that will test your app.
Replies
Boosts
Views
Activity
Jun ’21
Reply to Localization in Xcode
Discussed this more with cross-functional teams and not using keys a no-go. This will not work if you want to share localization efforts across platforms beyond Apple which is more of a real-world scenario especially in enterprise settings. For example, Android requires localization keys to not have dots and other kinds of characters, also we found many 3rd party localization services had a character limit on key length. And when looking at very long localization entries, using the value as the key just doesn't make sense. I think sticking with my first intuition in using localization keys is the right way despite all the Apple sessions and samples showing otherwise. Also, just to share I was able to achieve isolating localization configurations by extending Text views to initialize from other Text views. This way, I can offload the localization configurations off the view by creating a bunch of static Text views and let the rest of the app pick them off the shelf. First I create the simple but awkwa
Replies
Boosts
Views
Activity
Jun ’21
Reply to Looking for a solution to replace UILocalNotifications
Offloading the alert logic to your servers and implementing push notifications (whether using a 3rd party push provider service, or maintaining your own push server), then sending these notifications at the intervals you wish, and developing notification scheduling as complicated as you can is definitely an option. Currently there is no way to accomplish what you want using local notifications.
Replies
Boosts
Views
Activity
Jun ’21