Post

Replies

Boosts

Views

Activity

Reply to Model Rate Limits?
In this case, it was a foregrounded visionOS app. This app is a feed reader / RSS app and this happened when I downloaded new feed items (~150 of them) and ran the model in a loop over each entry. The actual model request is to summarize the content of the feed item. FB17984127 The error is: Error Domain=com.apple.SensitiveContentAnalysisML Code=15 "Failed model manager query for model com.apple.fm.language.instruct_300m.safety: Client rate limit exceeded, try again later"
Jun ’25
Reply to BGTaskScheduler crashes on iOS 18.4
It's not ideal but it took me about 10 minutes to revert it so doesn't seem like the end of the world, at least for most implementations. Kevin's signature says he is a DTS engineer, that means Developer Technical Support which at least commonly would suggest he's not the person who would be assigned to work on fixing a bug like this but to help developers understand the APIs and work around issues. I appreciate him giving us such detailed information - that's not always the case.
Mar ’25
Reply to Core Spotlight "Summarization" Oddly Inconsistent
Yup, I guess that's the next step, a sample. I am submitting the required elements (nicely documented, appreciate that). What I'm noticing is that it almost appears throttled (though the delegate is not getting the throttling message). On Vision Pro, it appears that I'm much more likely to get a response if the battery pack is plugged into mains power... but nobody really uses the Vision Pro that way so that's not something I can rely on. Anyway - thanks for the tip.
Topic: App & System Services SubTopic: General Tags:
Mar ’25
Reply to Image Playground Sheet Appears Blank First Time Presented?
It was more of a general question about if the API is working correctly for others which of course can be very useful information - pretty common for Apple APIs, especially SwiftUI, to behave in strange ways and sometimes just not work at all. So that was the purpose - knowing it works fine for everyone else would be useful. That's what the 'just me' question means. But sure, here's the code. It's basically the same as the sample in the documentation and since this modifier just uses a Bool state for presentation it didn't seem useful. With the below: When button pressed, sheet presents as expected. Sheet is blank, i.e. totally white. Wait a little bit to see what happens (nothing). Dismiss sheet with interactive pull dismissal. Tap button again. Sheet appears, Image Playgrounds content loads. Code is as follows in case something does jump out. Maybe you'll see something that I do not. import SwiftUI #if canImport(ImagePlayground) import ImagePlayground #endif @available(iOS 18.2, *) struct TripCustomImageGenerationView: View { @Environment(\.supportsImagePlayground) private var supportsImagePlayground @State private var showImagePlayground: Bool = false @State private var data: Data? var body: some View { if supportsImagePlayground { Button("Generate Custom Image") { showImagePlayground = true } .imagePlaygroundSheet(isPresented: $showImagePlayground, concept: "Test Image Concept") { url in self.data = try? Data(contentsOf: url) } } else { EmptyView() } } }
Dec ’24
Reply to Making onscreen content available to Siri not requesting my Transferable
Hi Ed, I haven't split it out into a test project yet but that may be the next step. This is a complex app which always makes the extraction a bit more of a process. One interesting note - I have this functionality allowing Siri to 'read' the screen in this way for two types of content. One is in the app's photo gallery which is very similar to the sample code. That one works - when it shares with ChatGPT, it correctly identifies the type as 'photo' not 'screenshot' and my Transferable implementation is called. The second one that's not working is using the .reader.document schema, i.e. I want to share a text document with Siri but instead it only wants to share a screenshot. Looking at the code, other than the schema type being different, the mechanics are basically the same which is where I'm confused and was curious if anyone else had done this and could be helpful. Perhaps a sample is the next thing...
Dec ’24