Post

Replies

Boosts

Views

Activity

Comment on Why can't I reduce the length of the selection range in WKWebView in Catalyst on macOS Sequoia?
I have reproduced the issue on 15.1 (24B83). I selected Seed 6 in the "what build" dropdown in Feedback Assistant because that was the latest version available in the dropdown, though apparently I neglected to point that out in the issue description (though I have said it in other issues - see FB15730854, FB15714657). Regardless - you can't reproduce this issue on 15.1 using the sample app I provided? Could there be other factors at play here? Is there more data I can provide to clarify?
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’24
Comment on How can I make my multi-window Catalyst app restore window size and position after closing with stoplight button?
I read through those docs and tried the sample app, but it's all about restoring view controller state. That already works - I can open various windows, quit the app, relaunch it, and they come back as they were, via NSUserActivity. My question is about how to make macOS understand that for one particular window type (meaning one particular UISceneConfiguration), when the window is closed using the stoplight button and reopened, it should be restored, not recreated from scratch.
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’24
Comment on What is ChronoKit.InteractiveWidgetActionRunner.Errors Code 1?
Also, widgetUrl does not appear to work. I tweaked my sample app code to: Make LaunchAppIntent inherit from AppIntent and have a perform method that just returns .result() Add .widgetURL(URL(string: "otcontrolwidget://test")!) on the Image` in the control itself And tapping the control now does nothing. I'm using .widgetUrl on other widgets, but it doesn't appear to work with Control Center widget buttons.
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’24
Comment on Why can't I reduce the length of the selection range in WKWebView in Catalyst on macOS Sequoia?
I have reproduced the issue on 15.1 (24B83). I selected Seed 6 in the "what build" dropdown in Feedback Assistant because that was the latest version available in the dropdown, though apparently I neglected to point that out in the issue description (though I have said it in other issues - see FB15730854, FB15714657). Regardless - you can't reproduce this issue on 15.1 using the sample app I provided? Could there be other factors at play here? Is there more data I can provide to clarify?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’24
Comment on How can I make my multi-window Catalyst app restore window size and position after closing with stoplight button?
I read through those docs and tried the sample app, but it's all about restoring view controller state. That already works - I can open various windows, quit the app, relaunch it, and they come back as they were, via NSUserActivity. My question is about how to make macOS understand that for one particular window type (meaning one particular UISceneConfiguration), when the window is closed using the stoplight button and reopened, it should be restored, not recreated from scratch.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on What is ChronoKit.InteractiveWidgetActionRunner.Errors Code 1?
Also, widgetUrl does not appear to work. I tweaked my sample app code to: Make LaunchAppIntent inherit from AppIntent and have a perform method that just returns .result() Add .widgetURL(URL(string: "otcontrolwidget://test")!) on the Image` in the control itself And tapping the control now does nothing. I'm using .widgetUrl on other widgets, but it doesn't appear to work with Control Center widget buttons.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on How can I use the F8 play/pause key to control media playback in Catalyst?
MPRemoteCommandCenter *center = [MPRemoteCommandCenter sharedCommandCenter]; [center.togglePlayPauseCommand addTarget:self action:@selector(handleRemoteTogglePlayPause:)]; //... -(MPRemoteCommandHandlerStatus)handleRemoteTogglePlayPause:(MPRemoteCommandEvent *)event { [self togglePlayPause]; return MPRemoteCommandHandlerStatusSuccess; }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on How can I use the F8 play/pause key to control media playback in Catalyst?
I'm already setting those command handlers - playCommand, pauseCommand, togglePlayPauseCommand, etc. Also, when I download those example projects and run them as Catalyst apps, neither of them respond to the play/pause F8 key. It just launches the macOS Music app. I am on Sonoma 14.6.1, if it matters. Do I need to file a Feedback about this not working?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’24