Post

Replies

Boosts

Views

Activity

Reply to Rate limit from SensitiveContentAnalysisML never lifts when using PCC
I got it working and hopefully this will help someone else. And maybe someone who understands more about this can fill in some details as to why this is happening. In this particular case, image classification was occurring from a live camera view whenever a photo was taken. It was happening on its own task. The rate limit appears to have occurred in ModelManagerServices (subsystem com.apple.modelmanager, category IPC) and then passed up. It would happen consistently in this portion of the app after processing several photos (I had originally thought it was around 20, but it was usually closer to 12-18, depending on the device). After you hit the limit in this part of the app, you would continue to get the rate limit error from then on every time it tried to analyze the image, even if you went away to another section of then came back to it later or just waited a while. The only way to get it working again was to kill the app and re-launch. However, there are other parts of the app that use the same code for analyzing images and none of them exhibited this problem. In fact, you could hit the rate limit in the camera view, go to another section and processing a bunch of images from files, and the app would truck along fine, calling the same image classification code. Go back to the camera view and you'd get the rate limit immediately. I tried everything I could think of, including enforcing long pauses between photos, tearing down the AVCapture session after each was taken and then standing it back up again after the photo was analyzed, scaling the images even smaller, lowering the priority of the task, and a host of other things. Nothing worked. Then finally, I tried presenting the UI that shows during the analysis (and thus calls the analysis code) as its own modal sheet (the camera view itself being one) and it worked. I don't know why this works, but I'm not getting the rate limit anymore.
Aug ’26
Reply to SpeechAnalyzer speech to text wwdc sample app
Is anyone else running into an issue with SpeechAnalyzer not releasing properly in iOS 26 Beta 4? You can test this with the speech to text sample app by create a story and recording some speech multiple times. On the third story I'm getting a "Maximum number of recognizers reached" error when trying to record. I'm seeing this behavior in our own app too on the third attempt at using speech to text in the app. Feedback filed for this: FB19003031
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’25
Reply to Disable new tab bar look
I filed a feedback (FB14293963) on issue with the Mac and tab bars, complete with a sample app to reproduce the problem, in mid July. After hearing nothing for a while (feigned surprise), I contacted DTS. They told me they were aware of the issue and keep watching my feedback on the problem. That it still hasn't been addressed or responded to makes me think Apple just doesn't care. The entire feedback system is fundamentally broken is so many ways. The past few years it seems like a complete in time. Next year, I don't think I'll bother filing anything.
Topic: UI Frameworks SubTopic: General Tags:
Nov ’24
Reply to Determining if Running on iPhone Duo at Launch
I should also add that I've found checking for occlusion regions in viewDidAppear() turned out not to be ineffective. Most of the time the occlusion regions would show up, but sometimes reservedRegions(kind: .occlusion, options: .includeInactive) returned an empty array.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Sep ’26
Reply to Rate limit from SensitiveContentAnalysisML never lifts when using PCC
I got it working and hopefully this will help someone else. And maybe someone who understands more about this can fill in some details as to why this is happening. In this particular case, image classification was occurring from a live camera view whenever a photo was taken. It was happening on its own task. The rate limit appears to have occurred in ModelManagerServices (subsystem com.apple.modelmanager, category IPC) and then passed up. It would happen consistently in this portion of the app after processing several photos (I had originally thought it was around 20, but it was usually closer to 12-18, depending on the device). After you hit the limit in this part of the app, you would continue to get the rate limit error from then on every time it tried to analyze the image, even if you went away to another section of then came back to it later or just waited a while. The only way to get it working again was to kill the app and re-launch. However, there are other parts of the app that use the same code for analyzing images and none of them exhibited this problem. In fact, you could hit the rate limit in the camera view, go to another section and processing a bunch of images from files, and the app would truck along fine, calling the same image classification code. Go back to the camera view and you'd get the rate limit immediately. I tried everything I could think of, including enforcing long pauses between photos, tearing down the AVCapture session after each was taken and then standing it back up again after the photo was analyzed, scaling the images even smaller, lowering the priority of the task, and a host of other things. Nothing worked. Then finally, I tried presenting the UI that shows during the analysis (and thus calls the analysis code) as its own modal sheet (the camera view itself being one) and it worked. I don't know why this works, but I'm not getting the rate limit anymore.
Replies
Boosts
Views
Activity
Aug ’26
Reply to App Store Connect not accepting Builds from Xcode 27 Beta 5
I should add that I have another machine with Xcode 27 Beta 4 (running macOS 27 Beta 4) that I just tried and it works fine uploading a build to TestFlight. Unfortunately the call signature of one the APIs I'm using changed under Beta 5 (PrivateCloudComputerLanguageModel.supportsLocale(_:) so that's what's making this so urgent.
Replies
Boosts
Views
Activity
Aug ’26
Reply to SpeechAnalyzer speech to text wwdc sample app
Is anyone else running into an issue with SpeechAnalyzer not releasing properly in iOS 26 Beta 4? You can test this with the speech to text sample app by create a story and recording some speech multiple times. On the third story I'm getting a "Maximum number of recognizers reached" error when trying to record. I'm seeing this behavior in our own app too on the third attempt at using speech to text in the app. Feedback filed for this: FB19003031
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Disable new tab bar look
I filed a feedback (FB14293963) on issue with the Mac and tab bars, complete with a sample app to reproduce the problem, in mid July. After hearing nothing for a while (feigned surprise), I contacted DTS. They told me they were aware of the issue and keep watching my feedback on the problem. That it still hasn't been addressed or responded to makes me think Apple just doesn't care. The entire feedback system is fundamentally broken is so many ways. The past few years it seems like a complete in time. Next year, I don't think I'll bother filing anything.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24