Post

Replies

Boosts

Views

Activity

Reply to Horizontal Size Classes on iPhone in iOS 27
Apple always seemed very stingy with regular size classes on iPhone as a way to differentiate the smaller and larger phone models Even when the smaller models became as large as previous large models Apple restricts them in software from showing UI elements like sidebars. I suspect some of that is going on here as well. https://www.reddit.com/r/ios/comments/1rh2vlk/ios_landscape_ui/
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’26
Reply to Receiving an on‑screen image from another app via App Intents / Siri (app has no photo library)
I am very interested in the solution to this. You may be told to create “photos.create” intent as well, so the system knows how to create a photo in your App’s domain, but even after doing that, this use-case of cross-app photo opening does not work for me. I’ve tried with images displayed in Safari. I’ve tried with Files in the files app. I‘ve tried with photos in the photos app. (In my case I’m trying to get “.addToAlbum“, not ”.setFilter”, to work.) It will only ever work from within my app working on an image made available by my app. I see it go from file -> photo -> addToAlbum as expected. Like you, though, the real utility is third party provided data ingestion. Related: FB23404394 FB23083759
Jun ’26
Reply to [OS27] Adaptive Layouts - TabView - Force Sidebar?
Welp. iPhone 17 Pro simulator was able to make it work in resize mode... so... I guess it works fine Here's how I did it: @State private var tabViewWidth: CGFloat = .zero var horizontalSizeClass: UserInterfaceSizeClass { tabViewWidth > 736 ? .regular : .compact } var wantsSideBar: Bool { horizontalSizeClass == .regular } .onGeometryChange( for: CGFloat.self, of: { $0.size.width }, action: { tabViewWidth = $0 }) .environment(\.horizontalSizeClass, horizontalSizeClass) .tabViewStyle(.sidebarAdaptable) .defaultTabBarPlacementIfAvailable(wantsSideBar ? .sidebar : .automatic)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’26
Reply to Multiple schemas per entity
I am also curious about this! However, I think in this example, the "File/Folder" Scheme is explicitly about URL-based filesystem items. Now, your notes could be stored as files, and the "folders" could be literal folders. You could use two different Entities, each conforming to the appropriate Schemas and then allow them to be interchangeable with one another by implementing transferable on them. (I think!) I've gotten things like that to work for in-app-actions, but not yet for cross-app actions.
Jun ’26
Reply to OS27 LazyVGrid hops like crazy on scroll up.
@DTS Engineer This sample project shows one LazyVGrid in a ScrollView, that looks fine – I'm curious to see if you find yourself needing to nest lazy stacks, there might be other ways to achieve the same result. I tried nesting lazyVgrids cause I wanted to try to have per-section column layouts. It was mess, though, with entire sections disappearing on scroll. Suggestion for perSection columns here: FB23162564 This exact situation is covered in our WWDC26 session I have watched this video. It is hard for me to know what about my views is "not stable enough". The cells in my feedback project (FB23182374) are either a VStack or HStack, and that's not changed at run time in the project. It's compiled to always be VStack. Does that "matter" to the internal mechanisms of LazyVGrid if that VStack never changes? I will experiment with this in my more complex app. Given the VStack never changes, the cell body always contains an image display area that has an .aspectRatio modifier on it (giving it a stable height for a given width) and a label with a line limit that reserves space. Is that stable enough for the internal workings of LazyVGrid? That image display area could show a placeholder depending on the loading state for that cell, but that does not impact the frame of the cell. It's all in the image-display-area that doesn't change size based on its content. Is that stable enough for the internal workings of LazyVGrid? Is there a way to introspect what lazyVGrid things is going on? I've tried backgrounds with random colors and during scroll the colors will stay constant, which I think means layouts are not happening? It's very frustrating to deal with these aspects of SwiftUI. We're on the seventh year now with no real CollectionView component.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’26
Reply to App Intents + Siri AI
I've gone over the videos, attended the QnA's, tried to follow the sample code, and Siri still won't invoke my intents that adhere to the Photos @Schema definitions. I've added AppIntentsTesting tests to confirm that my intents and entities are available from the application. I've confirmed that Shortcuts shows my intents actions, even the one that says my app has "Albums" even though it doesn't but I had to conform to it anyway because I have "galleries" and we can't make our own Schemas even after two years of that API existing.... I'm not convinced it actually works in Beta 1 and 2. I asked Apple several times what was not functional during the WWDC QnA sessions and they opted not to answer the question. Is anyone able to say what is / is not expected to be working for developer seed 2? I know it's still early in the cycle, but I'm not happy about the level of communication to developers about this one. It's impossible to introspect what siri is able to see on screen. It's impossible to ask what siri what it is able to do with a specific application. It's impossible to figure out why when you tell siri to do something it will straight up say it can't and then you say "yes you can, this app uses AppEntities" and then it will magically work. I figure I won't end up shipping the feature by the fall.
Jun ’26
Reply to App Intents and Entities without schemas
Yeah they’re limited. I if you have an intent that conforms to a schema, you probably also need to have an entity that conforms to that intent’s input. Implement transferable on your entity so it can be created by whatever data the system has available. Then you hope that the system makes it and passes it to your intent. After that, “File feedback” is what they tell us. I really expected the schemas to evolve over two years from when they got announced, but it does not appear they did.
Jun ’26
Reply to App schema domains for trains, flighs, ferrys and othe public transport
Despite it being two years since the first batch of Schema‘s were released, I suspect we need to wait one more until we see any additions. Maybe there could be a half-cycle addition of new schemas?
Replies
Boosts
Views
Activity
Jun ’26
Reply to Horizontal Size Classes on iPhone in iOS 27
Apple always seemed very stingy with regular size classes on iPhone as a way to differentiate the smaller and larger phone models Even when the smaller models became as large as previous large models Apple restricts them in software from showing UI elements like sidebars. I suspect some of that is going on here as well. https://www.reddit.com/r/ios/comments/1rh2vlk/ios_landscape_ui/
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’26
Reply to SB 2420 - I have no idea what to do.
Hello?
Replies
Boosts
Views
Activity
Jun ’26
Reply to How to get Ask Siri context menu button
I think having a .draggable definition or an attached .appEntity gives the system something to grab on to.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’26
Reply to Receiving an on‑screen image from another app via App Intents / Siri (app has no photo library)
I am very interested in the solution to this. You may be told to create “photos.create” intent as well, so the system knows how to create a photo in your App’s domain, but even after doing that, this use-case of cross-app photo opening does not work for me. I’ve tried with images displayed in Safari. I’ve tried with Files in the files app. I‘ve tried with photos in the photos app. (In my case I’m trying to get “.addToAlbum“, not ”.setFilter”, to work.) It will only ever work from within my app working on an image made available by my app. I see it go from file -> photo -> addToAlbum as expected. Like you, though, the real utility is third party provided data ingestion. Related: FB23404394 FB23083759
Replies
Boosts
Views
Activity
Jun ’26
Reply to Clarification on the planned removal of UIDesignRequiresCompatibility
That back button is driving me crazy. Why not use the system default?
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’26
Reply to [OS27] Adaptive Layouts - TabView - Force Sidebar?
Welp. iPhone 17 Pro simulator was able to make it work in resize mode... so... I guess it works fine Here's how I did it: @State private var tabViewWidth: CGFloat = .zero var horizontalSizeClass: UserInterfaceSizeClass { tabViewWidth > 736 ? .regular : .compact } var wantsSideBar: Bool { horizontalSizeClass == .regular } .onGeometryChange( for: CGFloat.self, of: { $0.size.width }, action: { tabViewWidth = $0 }) .environment(\.horizontalSizeClass, horizontalSizeClass) .tabViewStyle(.sidebarAdaptable) .defaultTabBarPlacementIfAvailable(wantsSideBar ? .sidebar : .automatic)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’26
Reply to Multiple schemas per entity
I am also curious about this! However, I think in this example, the "File/Folder" Scheme is explicitly about URL-based filesystem items. Now, your notes could be stored as files, and the "folders" could be literal folders. You could use two different Entities, each conforming to the appropriate Schemas and then allow them to be interchangeable with one another by implementing transferable on them. (I think!) I've gotten things like that to work for in-app-actions, but not yet for cross-app actions.
Replies
Boosts
Views
Activity
Jun ’26
Reply to OS27 LazyVGrid hops like crazy on scroll up.
@DTS Engineer This sample project shows one LazyVGrid in a ScrollView, that looks fine – I'm curious to see if you find yourself needing to nest lazy stacks, there might be other ways to achieve the same result. I tried nesting lazyVgrids cause I wanted to try to have per-section column layouts. It was mess, though, with entire sections disappearing on scroll. Suggestion for perSection columns here: FB23162564 This exact situation is covered in our WWDC26 session I have watched this video. It is hard for me to know what about my views is "not stable enough". The cells in my feedback project (FB23182374) are either a VStack or HStack, and that's not changed at run time in the project. It's compiled to always be VStack. Does that "matter" to the internal mechanisms of LazyVGrid if that VStack never changes? I will experiment with this in my more complex app. Given the VStack never changes, the cell body always contains an image display area that has an .aspectRatio modifier on it (giving it a stable height for a given width) and a label with a line limit that reserves space. Is that stable enough for the internal workings of LazyVGrid? That image display area could show a placeholder depending on the loading state for that cell, but that does not impact the frame of the cell. It's all in the image-display-area that doesn't change size based on its content. Is that stable enough for the internal workings of LazyVGrid? Is there a way to introspect what lazyVGrid things is going on? I've tried backgrounds with random colors and during scroll the colors will stay constant, which I think means layouts are not happening? It's very frustrating to deal with these aspects of SwiftUI. We're on the seventh year now with no real CollectionView component.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’26
Reply to App Intents + Siri AI
I've gone over the videos, attended the QnA's, tried to follow the sample code, and Siri still won't invoke my intents that adhere to the Photos @Schema definitions. I've added AppIntentsTesting tests to confirm that my intents and entities are available from the application. I've confirmed that Shortcuts shows my intents actions, even the one that says my app has "Albums" even though it doesn't but I had to conform to it anyway because I have "galleries" and we can't make our own Schemas even after two years of that API existing.... I'm not convinced it actually works in Beta 1 and 2. I asked Apple several times what was not functional during the WWDC QnA sessions and they opted not to answer the question. Is anyone able to say what is / is not expected to be working for developer seed 2? I know it's still early in the cycle, but I'm not happy about the level of communication to developers about this one. It's impossible to introspect what siri is able to see on screen. It's impossible to ask what siri what it is able to do with a specific application. It's impossible to figure out why when you tell siri to do something it will straight up say it can't and then you say "yes you can, this app uses AppEntities" and then it will magically work. I figure I won't end up shipping the feature by the fall.
Replies
Boosts
Views
Activity
Jun ’26
Reply to App Intents and Entities without schemas
Yeah they’re limited. I if you have an intent that conforms to a schema, you probably also need to have an entity that conforms to that intent’s input. Implement transferable on your entity so it can be created by whatever data the system has available. Then you hope that the system makes it and passes it to your intent. After that, “File feedback” is what they tell us. I really expected the schemas to evolve over two years from when they got announced, but it does not appear they did.
Replies
Boosts
Views
Activity
Jun ’26
Reply to Surface Snapping in visionOS Simulator
I would assume this is not possible. The walls in the simulated environments also don’t register for the plane detection provider.
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’26
Reply to Avoiding crashes in iOS 27 when selected tab is hidden from TabView
I assumed that because this is a known issue, it will be fixed before stable release.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jun ’26
Reply to Zoom transition source tile lags after back navigation when LazyVGrid is scrolled immediately
This is a bug that’s Apple’s responsibility to fix. It happens in first-party apps as well and even with context menus when they collapse back down.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jun ’26
Reply to Push new views to sidebar when using NavigationPath
Speaking from memory: I believe there is a navigationSplitView initializer that lets you specify each of the three columns manually. Maybe try dropping NavigationStacks in each of those spots to have more navigation control over them? It’s still an odd navigation experience, though. You may need to make your own!
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jun ’26