Post

Replies

Boosts

Views

Activity

Reply to macOS Menu disappears when converting from NSApplicationActivationPolicyAccessory to NSApplicationActivationPolicyRegular if display disconnected and reconnected
I have not been able to fix the issue yet. The best I have come up with is to intercept the change using applicationDidChangeSCreenParameters:, and convert back to NSApplicationActivationPolicyRegular. This does cause the dock icon to reappear, but at least when the app is activated the menu bar is visible.
Topic: UI Frameworks SubTopic: AppKit Tags:
Feb ’25
Reply to macOS Menu disappears when converting from NSApplicationActivationPolicyAccessory to NSApplicationActivationPolicyRegular if display disconnected and reconnected
I have not been able to fix the issue yet. The best I have come up with is to intercept the change using applicationDidChangeSCreenParameters:, and convert back to NSApplicationActivationPolicyRegular. This does cause the dock icon to reappear, but at least when the app is activated the menu bar is visible.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Get file path from .onDrop on macOS SwiftUI app
Obviously can't speak for @airbolt. but does not work for me with iOS 16.2 in simulator. From what I can tell in my experimenting, it seems that even when dragging from the Files app, iOS only drops the content of a file (eg .plainText in my use case), not the file itself???
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to Writing to "secondary file" on iOS/iPadOS (not macOS)?
Submitted. FB12168987. Thanks again. Fletcher
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to Writing to "secondary file" on iOS/iPadOS (not macOS)?
Quinn -- thank you for the response! (And as an aside, after seeing your helpful replies countless times over the years, it's nice to get one myself!!!)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to macOS Big Sur - Adding headers and footers when printing WKWebView
Any luck with this? I am having the same issue when I use [self.webView printOperationWithPrintInfo:printInfo]. When I use [NSPrintOperation printOperationWithView:self.webView printInfo:printInfo] I get the headers, but I don't get the actual web content.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’21