Post

Replies

Boosts

Views

Activity

Reply to [iOS 26][AppIntent] Colors defined in xcassets not working in AppIntents
I'm attaching some more information, code and screenshots of the problem on two different devices using iOS 26 23A5336a. The colors are used in SwiftUI View which is passed to the content parameter of AppIntent.requestConfirmation. The colors are loaded using Bundle(named:in:compatibleWith). The structure of the view is (with some stripping) this: struct IntentView: View { var body: some View { VStack(alignment: .leading) { VStack(alignment: .leading) { Text(message) .foregroundColor(.textColorNeutral100) Text(userName) .foregroundColor(.textColorNeutral100) } Text(badgeName) .foregroundColor(.backgroundColorNeutral100) .padding(Constants.smallMargin) .background { Capsule() .fill(Color.backgroundColorPrimary50) } } .scenePadding() } } Correct colors Wrong colors (probably no colors)
Topic: UI Frameworks SubTopic: SwiftUI
3d
Reply to PHPickerViewController crashing with _PFAssertFailHandler
We've also faced this assertion recently Assertion failure in -[PHPickerViewController _handleRemoteViewControllerConnection:extension:extensionRequestIdentifier:error:completionHandler:], /Library/Caches/com.apple.xbs/Sources/Photos_UI/Projects/PhotosUI/PhotosUI/macOS+iOS/PHPicker/PHPicker.m:1489 [extension _extensionContextForUUID:PFAssertClass(extensionRequestIdentifier, NSUUID)] should be an instance inheriting from PUPickerExtensionHostContext, but it is nil If someone has knows what this might indicate, or whether this is a bug in the framework please reply
Topic: Media Technologies SubTopic: General Tags:
Mar ’24