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.5k
Jun ’19
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
4.2k
Jun ’20