Post

Replies

Boosts

Views

Activity

UIKit macOS App Black Screen
No matter what I try, if it's my own app(s) or new projects created in Xcode, when building and launching on macOS I only get a Black Screen with the following console logs[AXLoading] Failed to load item AXCodeItem<0x60000263a160> [Rank:6000] PhotosFramework [AXBundle name:/System/iOSSupport/System/Library/AccessibilityBundles/PhotosFramework.axbundle/PhotosFramework] [Platforms and Targets:{ iOS = Photos; } Framework]. error: Error Domain=AXLoading Code=0 "URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/PhotosFramework.axbundle" UserInfo={NSLocalizedDescription=URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/PhotosFramework.axbundle}[AXLoading] Failed to load item AXCodeItem<0x600002636760> [Rank:6000] StoreKitFramework [AXBundle name:/System/iOSSupport/System/Library/AccessibilityBundles/StoreKitFramework.axbundle/StoreKitFramework] [Platforms and Targets:{ iOS = StoreKit; } Framework]. error: Error Domain=AXLoading Code=0 "URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/StoreKitFramework.axbundle" UserInfo={NSLocalizedDescription=URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/StoreKitFramework.axbundle}
6
0
2.8k
Dec ’21
How to setup toolbar for sheets in SwiftUI on macOS?
I’d like to know, how I can setup a toolbar inside a sheet using SwiftUI on macOS. I tried adding a NavigationView and used the following Code, but the top area of the sheet is always empty. .toolbar {                 ToolbarItem(placement: .confirmationAction) {                     Button(action: { //                      Do stuff                         self.presentationMode.wrappedValue.dismiss()                     }                     ) {                         Label("Done", systemImage: "checkmark.fill")                     }                 }                 ToolbarItem(placement: .cancellationAction) {                     Button(action: {                         self.presentationMode.wrappedValue.dismiss()                     }                     ) {                         Label("Cancel", systemImage: "checkmark.fill")                     }                 }             }
4
1
5k
Apr ’23
UIKit macOS App Black Screen
No matter what I try, if it's my own app(s) or new projects created in Xcode, when building and launching on macOS I only get a Black Screen with the following console logs[AXLoading] Failed to load item AXCodeItem<0x60000263a160> [Rank:6000] PhotosFramework [AXBundle name:/System/iOSSupport/System/Library/AccessibilityBundles/PhotosFramework.axbundle/PhotosFramework] [Platforms and Targets:{ iOS = Photos; } Framework]. error: Error Domain=AXLoading Code=0 "URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/PhotosFramework.axbundle" UserInfo={NSLocalizedDescription=URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/PhotosFramework.axbundle}[AXLoading] Failed to load item AXCodeItem<0x600002636760> [Rank:6000] StoreKitFramework [AXBundle name:/System/iOSSupport/System/Library/AccessibilityBundles/StoreKitFramework.axbundle/StoreKitFramework] [Platforms and Targets:{ iOS = StoreKit; } Framework]. error: Error Domain=AXLoading Code=0 "URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/StoreKitFramework.axbundle" UserInfo={NSLocalizedDescription=URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/StoreKitFramework.axbundle}
Replies
6
Boosts
0
Views
2.8k
Activity
Dec ’21
How to setup toolbar for sheets in SwiftUI on macOS?
I’d like to know, how I can setup a toolbar inside a sheet using SwiftUI on macOS. I tried adding a NavigationView and used the following Code, but the top area of the sheet is always empty. .toolbar {                 ToolbarItem(placement: .confirmationAction) {                     Button(action: { //                      Do stuff                         self.presentationMode.wrappedValue.dismiss()                     }                     ) {                         Label("Done", systemImage: "checkmark.fill")                     }                 }                 ToolbarItem(placement: .cancellationAction) {                     Button(action: {                         self.presentationMode.wrappedValue.dismiss()                     }                     ) {                         Label("Cancel", systemImage: "checkmark.fill")                     }                 }             }
Replies
4
Boosts
1
Views
5k
Activity
Apr ’23
Hide separators in List (SwiftUI)
How do I hide the separation lines inside Lists in SwiftUI for iOS 14? Previously I could use UITableView.appearance().separatorStyle = .none but this doesn't seem to work anymore.
Replies
28
Boosts
0
Views
22k
Activity
Aug ’23