Search results for

A Summary of the WWDC25 Group Lab

10,113 results found

Post

Replies

Boosts

Views

Activity

Popover, Menu and Sheet not working with RealityView Attachment SwiftUI
Hi, I have a SwiftUI View, that is attached to a 3D object in Reality View. This is supposed to be a HUD for the user to select a few things. I wanted a sub menu for one of the top level buttons. But looks like none of the reasonable choices like Menu, Sheet or Popover work. Is there a known limitation of RealityKit Views where full SwiftUI cannot be used? Or am I doing something wrong? For example, Button { SLogger.info(Toggled) withAnimation { showHudPositionMenu.toggle() } } label: { HStack { Image(systemName: rectangle.3.group) Text(My Button) } } .popover(isPresented: $showHudPositionMenu, attachmentAnchor: attachmentAnchor) { HudPositionMenuItems(showHudPositionMenu: $showHudPositionMenu, currentHudPosition: $currentHudPosition) } This will print Toggled but will not display the MenuItems Popover. If it makes any difference, this is attached to a child of a head tracked entity.
1
0
84
Jun ’25
MacBook Air M4 - Battery Drain During Sleep
Hello, Can anyone tell me what this means? Or if it's normal? I'm seeing about 10% battery drain per day on sleep, and pmset -g log shows wakes nearly every minute. 2025-06-10 17:10:35 -0700 DarkWake DarkWake from Deep Idle [CDNP] : due to smc.70070000 wifibt SMC.OutboxNotEmpty/ Using BATT (Charge:94%) 5 secs 2025-06-10 17:10:43 -0700 DarkWake DarkWake from Deep Idle [CDNP] : due to smc.70070000 wifibt SMC.OutboxNotEmpty/ Using BATT (Charge:94%) 6 secs 2025-06-10 17:13:49 -0700 DarkWake DarkWake from Deep Idle [CDNP] : due to smc.70070000 wifibt SMC.OutboxNotEmpty/ Using BATT (Charge:94%) 8 secs 2025-06-10 17:14:01 -0700 DarkWake DarkWake from Deep Idle [CDNP] : due to smc.70070000 wifibt SMC.OutboxNotEmpty/ Using BATT (Charge:94%) 6 secs 2025-06-10 17:14:10 -0700 DarkWake DarkWake from Deep Idle [CDNP] : due to smc.70070000 wifibt SMC.OutboxNotEmpty/ Using BATT (Charge:94%) 6 secs 2025-06-10 17:15:01 -0700 DarkWake DarkWake from Deep Idle [CDNP] : due to smc.70070000 wifibt SMC.OutboxNotEmpty/ Using BATT (Ch
2
0
99
Jun ’25
iOS26 WWDC25 large inline navigation?
How to achieve the same navigation bar style as in the Design foundations from idea to interface - WWDC25 video? Screenshot: https://imgur.com/a/huzsm1H There's no new navigationBarTitleDisplayMode that has action buttons aligned with the title.
1
0
131
Jun ’25
WWDC25 Metal & game technologies group lab
Hello, Thank you for attending today’s Metal & game technologies group lab at WWDC25! We were delighted to answer many questions from developers and energized by the community engagement. We hope you enjoyed it and welcome your feedback. We invite you to carry on the conversation here, particularly if your question appeared in Slido and we were unable to answer it during the lab. If your question received feedback let us know if you need clarification. You may want to ask your question again in a different lab e.g. visionOS tomorrow. (We realize that this can be confusing when frameworks interoperate) We have a lot to learn from each other so let’s get to Q&A and make the best of WWDC25! 😃 Looking forward to your questions posted in new threads.
2
0
347
Jun ’25
FoundationModels and Core Data
Hi, I have an app that uses Core Data to store user information and display it in various views. I want to know if it's possible to easily integrate this setup with FoundationModels to make it easier for the user to query and manipulate the information, and if so, how would I go about it? Can the model be pointed to the database schema file and the SQLite file sitting in the user's app group container to parse out the information needed? And/or should the NSManagedObjects be made @Generable for better output? Any guidance about this would be useful.
1
0
179
Jun ’25
Reply to Best Practice for Keychain Storage for a C++ Plugin in a Host App (Maya)?
I suspect that the approach you’ve outlined won’t work. My understanding is that you’re building an in-process plug-in, that is, your plug-in’s code is loaded and executed within the host app. If so, you won’t be able to use a keychain access group because access to those is gated by entitlements, and you can’t change the entitlements of your host app. Fortunately there’s an easy way around this: Use the file-base keychain rather than the data protection keychain. See TN3137 On Mac keychain APIs and implementations for more background on that topic. ps I also recommend that you have a read of SecItem: Fundamentals SecItem: Pitfalls and Best Practices Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Jun ’25
Reply to EntityStringQuery does not show variable menu in Shortcuts app
Just out of a WWDC lab with some folks on the team. Seems to just be a UX thing in the Shortcuts app. When using EntityQuery in the shortcuts app you are presented with a context menu to use a variable, when using EntityStringQuery you need to press and hold the parameter to open the context menu. Also in iOS 26, the system seems to be able to use suggestedEntities to match a string from siri FYI
Jun ’25
Reply to get Wi-Fi controller info
Hi, The Wi-Fi controller shows up in I/O Registry Explorer, SO, the first thing to understand here is that IORegistryExplorer.app is basically a public app. It has no special entitlements* and uses no private API. It's not open source, but it's command line equivalent ioreg is, so you can see the code yourself if you're curious. *Keep in mind that IORegistryExplorer.app is positively ancient at this point. For example, it's About dialog says Copyright 2000 - 2013. It continues to work because this part of this system doesn't really change, not because it requires active maintenance. The critical point here is that if you're not getting the response you're expecting, it's almost always because of what you're doing/asking, not because the information isn't there or can't be retrieved. That leads to here: but IOServiceGetMatchingServices() does not return any information about it. More specifically, IOServiceGetMatchingServices is not returning the object you're expecting it to. The reason for that is actually d
Jun ’25
Any chance of still joining the UX Writing Lab?
I have accidentally missed the sign up window for the UX Writing lab by 1 hour, but I'd still love to join it if at all possible. I have had this lab several times in the past and it was always very informative. I have a time tracking app that helps people make the most of their time. https://apps.apple.com/us/app/timelines-time-tracking/id1112433234 I'm looking for guidance on how to improve copywriting in my onboarding sequence, on my paywall, and overall throughout the app. Thank you for considering. My Apple ID is lukas[at]glimsoft.com.
Topic: Design SubTopic: General
0
0
71
Jun ’25
Reply to Will Icon Composer support development of tvOS and visionOS icons?
We couldn't get to this question during the group lab session today, but we certainly saw it during the lab and appreciate you coming and asking about this! As you found, Icon Composer supports iOS, macOS, and watchOS icons. For tvOS and visionOS, you can preview the icon in Xcode through your asset catalog, or by using the Parallax Previewer app available for download on the Apple Design Resources page. I encourage you to create an Enhancement Request in Feedback Assistant for Icon Composer to gain support for visionOS and tvOS icons. Please post the FB number here! — Ed Ford,  DTS Engineer
Jun ’25
Reply to Widget error upon restore iPhone: The file "Name.sqlite" couldn't be opened
Do you check if the store URL you pass to NSPersistentCloudKitContainer is valid in the failure case, and if the URL is exactly the same as the one in the successful case (after you restart your iPhone)? I am wondering if the system returns you the right root path of the App Group container after you restore from backup... Best, —— Ziqiao Chen  Worldwide Developer Relations.
Jun ’25
Reply to Kernel panic using Vagrant synced folders via NFS beginning with macOS 15.4
I filed this under FB17853906. Perfect, thank you. I spoke with an engineer at the Apps & Services WWDC lab and they recommended I post here to make sure the bug gets looked at and routed to the correct team Excellent advice and I hope the lab was helpful! In terms of the bug, I've verified the routing and, after taking a look at this myself, I suspect this is duplicate of an issue we're already investigating. I can't comment on future plans or release schedules, but fixing this is definitely a priority. One comment here: The kernel panic does not occur when using smb instead of nfs. The underlying issue here is tied of the management of mbuf's in the kernel, not nfs itself, and I believe smb is very likely to experience a similar panic. I wouldn't expect it to occur under the same circumstances (the implementation are just to different), but I believe the panic itself can occur. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Widget error upon restore iPhone: The file "Name.sqlite" couldn't be opened
I have an app that uses NSPersistentCloudKitContainer stored in a shared location via App Groups so my widget can fetch data to display. It works. But if you reset your iPhone and restore it from a backup, an error occurs: The file Name.sqlite couldn't be opened. I suspect this happens because the widget is created before the app's data is restored. Restarting the iPhone is the only way to fix it though, opening the app and reloading timelines does not. Anything I can do to fix that to not require turning it off and on again?
12
0
216
Jun ’25