There is a way to tell different views that they should be part of the same liquid glass group. i don't remember how it's called exactly and if it will help but you could give it a shot. Apple talked about that API in one of the WWDC videos
Search results for
A Summary of the WWDC25 Group Lab
10,091 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
[quote='858251022, DTS Engineer, /thread/800521?answerId=858251022#858251022'] I’m not set up to test with Xcode 26 right now, but I’ll try to do that ASAP. [/quote] I repeated the test described above with Xcode 26 RC and iOS 26.0, and things continue to work. Here’s a summary of my results: Xcode | iOS | Result ----- | --- | ------ 16.4 | iOS 18.6.2 | OK 26.0 RC | iOS 18.6.2 | OK 26.0 RC | iOS 26.0 | OK This is all running on macOS 15.6.1, using a unique bundle ID each time. At this point I’m pretty much convinced that the root cause of this issue is resolved and that the remaining problems are caused by Xcode caching bad state. Unfortunately it’s hard for me to test solutions to that because I’ve never managed to reproduce the problem. [quote='858275022, totofrechou, /thread/800521?answerId=858275022#858275022, /profile/totofrechou'] The answer from Muslim Ismailov in Stack Overflow worked for me [/quote] Cool. That’s very like what I described earlier. Share and Enjoy — Quinn “The Eskimo!” @ Deve
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
only way i've found around this is to work: run an app that worked before the breaking change w/o changing the provisioning profile at all - don't add any restricted capabilities to it (app groups, push etc), and don't add a new device (if you do those things for example, it'll update your provisioning profile and stop it from working) i think this is out of our hands - if you don't have an app working w/ an existing provisioning profile - i'd test on simulators until apple to fixes
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
After my post, I found NSPopUpButton (or NSButton) has a private API named semanticContext for this purpose. Though, I can’t use it since my app is distributed in the App Store... cf. https://stackoverflow.com/questions/79593493/how-to-achieve-grouped-form-styled-controls-using-appkit/79607626#79607626
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
New features in WatchOS 26 with configurable widgets make it more important than ever that apps adopt IntentConfiguration options where applicable. I develop an app with an Apple Watch complication/widget on many many user's Watch faces around the world. I've completed updating my code to support WidgetKit and remove ClockKit. However, I face huge issues adding support for users to configure their widget/complications. If I update a widget to go from StaticConfiguration to IntentConfiguration, even when keeping the kind string the same, the widget disappears from the Watch face. This is an unacceptable user experience meaning I can't proceed with the migration. The problem is users will expect me to offer configuration in the Watch face soon for their widget/complication. Currently this process is done in a sub-optimal way in the app itself. A similar issue exists on iOS where the widget will just freeze indefinitely is migrated. This issue still occurs on the iOS 26 and WatchOS 26 betas. So how to move this
We are developing a parental control application in SwiftUI with features like app blocking and screen time management. We are using the Family Control API along with Apple Family Sharing, allowing parents to add multiple children to the family group. We have followed the apple documentation still we are facing following issues: App Blocking Issue: The family picker does not display each child's name separately or their apps individually. Instead, it shows all children's apps together, making it difficult to block apps for a specific child. Screen Time Data Issue: We receive the total screen time usage for all children combined rather than separate screen time data for each child. Syncing Delay: When a new child is added to the Family Sharing group, we are unsure how long it takes for their apps to sync and appear on the parent’s device.
In WWDC25 video 284: Build a UIKit app with the new design, there is mention of a cornerConfiguration property on UIVisualEffectView. But this properly isn't documented and Xcode 26 isn't aware of any such property. I'm trying to replicate the results of that video in the section titled Custom Elements starting at the 19:15 point. There is a lot of missing details and typos in the code associated with that video. My attempts with UIGlassEffect and UIViewEffectView do not result in any capsule shapes. I just get rectangles with no rounded corners at all. As an experiment, I am trying to recreate the capsule with the layers/location buttons in the iOS 26 version of the Maps app. I put the following code in a view controller's viewDidLoad method let imgCfgLayer = UIImage.SymbolConfiguration(hierarchicalColor: .systemGray) let imgLayer = UIImage(systemName: square.2.layers.3d.fill, withConfiguration: imgCfgLayer) var cfgLayer = UIButton.Configuration.plain() cfgLayer.image = imgLayer let btnLayer = UIBut
It does seem to be a permissions issue. If I revert back to putting the service in /Library/LaunchAgents and call SMAppService.agent(plistName: com.xpc.example.agent.plist) as demonstrated I can establish the XPC session and the code works as intended. That makes my claims of brokenness thoroughly, regretably invalid. It works, it's just not a complete example. Once I change the Copy File phase to throw the build product into /Library/LaunchDaemons and call SMAppService.daemon(plistName: com.xpc.example.agent.plist)instead (including passing the.private` flag when establishing the session), all the trouble begins. I manually did a chmod 600 and chown root on the service binary and the plist but launchd doesn't like that any better. I'm completely ruling out any .plist errors since I have not changed a single thing in that file and the same exact file works as a LaunchAgent. If I try to register the (root owned and non-group/world readable) plist manually then this happens: % sudo launchctl load /Appl
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags:
iOS 26 Navigation Title Not Displaying - Solution Problem Description After updating to iOS 26 beta, navigation titles stopped displaying in some of our SwiftUI views, while others continued to work. The affected views showed no navigation bar - the title, large title display mode, and toolbar items were not visible. This behavior is different from iOS 18, where the same code displays navigation titles as expected. Affected Configuration iOS Version: iOS 26 beta (all current betas through beta 7) SwiftUI: NavigationStack with .navigationTitle() and .navigationBarTitleDisplayMode(.large) Specific Pattern: Views where ScrollView or Form is the direct child of the view body The Change in Behavior In iOS 26, when a view's body directly returns a ScrollView or Form, the navigation title doesn't appear. Here's an example of code that displays the navigation title in iOS 18 but not in iOS 26: struct DashboardView: View { var body: some View { ScrollView { LazyVStack { // Your content here } } .navigationTitle(Dashbo
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
I’m presuming you’re targeting iOS or one of its child platforms here. The story is different on macOS. [quote='800040021, tverroman, /thread/800040, /profile/tverroman'] 1- What entitlements do we need? Do we need additional entitlements except com.apple.developer.networkingextension and com.apple.managed.vpn.shared? [/quote] Neither of those are valid entitlement names O-: When building an app with an NE provider, you need the com.apple.developer.networking.networkextension entitlement (note that you have the wrong spelling). This is restricted but not managed. Any developer can use it. To support managed configuration, you need access to the com.apple.managed.vpn.shared keychain access group. [quote='800040021, tverroman, /thread/800040, /profile/tverroman'] 2- What is the process to [access the] com.apple.managed.vpn.shared [keychain access group]]? [/quote] See #9 in Network Extension Framework Entitlements. [quote='800040021, tverroman, /thread/800040, /profile/tverroman'] 3- Is ADP …
Topic:
App & System Services
SubTopic:
Networking
Tags:
It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits. I am using macOS style that starts with Team ID OK. The Xcode App Group editor is not fully up to speed when it comes to macOS-style app group IDs. The screen shot of your provisioning profile shows the it’s correctly authorising you to use any group matching 2V________.*. And the App Groups editor is showing that you claim two of those groups. That’s all good. Note Regarding the group.com._.MySecurtiyAppGroup, it’s presence isn’t a problem. You’re not claiming access to that group, because the checkbox next it in the App Groups editor isn’t checked. And it’s fine for the profile to authorise you to use groups that you don’t then claim. I suspect that the red indicates that the app group ID you’re claiming isn’t literally in the app group ID listed in the profile. With iOS-style app groups
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I am working on implementing mTLS authentication in my iOS app (Apple Inhouse & intune MAM managed app). The SCEP client certificate is deployed on the device via Intune MDM. When I try accessing the protected endpoint via SFSafariViewController/ASWebAuthenticationSession, the certificate picker appears and the request succeeds. However, from within my app (using URLSessionDelegate), the certificate is not found (errSecItemNotFound). The didReceive challenge method is called, but my SCEP certificate is not found in the app. The certificate is visible under Settings > Device Management > SCEP Certificate. How can I make my iOS app access and use the SCEP certificate (installed via Intune MDM) for mTLS requests? Do I need a special entitlement, keychain access group, or configuration in Intune or Developer account to allow my app to use the certificate? Here is the sample code I am using: final class KeychainCertificateDelegate: NSObject, URLSessionDelegate { func urlSession(_ session: URLSes
Right. System credentials go into a keychain access group that you don’t have access to. That’s why Safari and SFSafariViewController work, but your code fails. This has been a problems for a long time [1] but we finally have a solution, namely, the ManagedApp framework. This allows your app to receive credentials from your MDM system securely. AFAIK there’s no integration between this and SCEP, so you’d need to update your server to accept these client identities in addition to the SCEP ones. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Check out the publication date on QA1745 Making Certificates and Keys Available To Your App!
Topic:
Privacy & Security
SubTopic:
General
Tags:
I have a UIKit app where I've adopted SwiftData and I'm struggling with a crash coming in from some of my users. I'm not able to reproduce it myself and as it only happens to a small fraction of my user base, it seems like a race condition of some sort. This is the assertion message: SwiftData/DefaultStore.swift:453: Fatal error: API Contract Violation: Editors must register their identifiers before invoking operations on this store SwiftData.DefaultStore: 00CF060A-291A-4E79-BEC3-E6A6B20F345E did not. (ID is unique per crash) This is the ModelActor that crashes: @available(iOS 17, *) @ModelActor actor ConsumptionDatabaseStorage: ConsumptionSessionStorage { struct Error: LocalizedError { var errorDescription: String? } private let sortDescriptor = [SortDescriptor(SDConsumptionSession.startTimeUtc, order: .reverse)] static func createStorage(userId: String) throws -> ConsumptionDatabaseStorage { guard let appGroupContainer = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: UserDefaults
Hi, I have a NSToolbar in my Mac Catalyst app with a space and flexible space item in it (https://developer.apple.com/documentation/appkit/nstoolbaritem/identifier/space). On macOS Tahoe the space item is being rendered with a Liquid Glass effect and seems to be automatically grouped with the previous item. Is there a way to prevent this? It basically adds some undesired padding next to the previous item and looks add. The flexible space is rendered normally and as before. I am talking about the space right next to the back chevron item. Thanks for any hints!