Post

Replies

Boosts

Views

Activity

Share submenu in Mac Catalyst and UICommandTagShare
With Mac Catalyst, in Big Sur and Monterey, you could use UICommandTagShare as the property list for a UICommand in combination with activityItemsConfiguration and itemProvidersForActivityItemsConfiguration to allow a "Share" submenu to appear in a menu in your app (for instance, under the File menu like many other apps). Starting in Ventura, this submenu no longer appears with that same code, and instead the UICommandTagShare command in the menu now just displays "Share" with no submenu, which triggers a UIActivityViewController to appear in the main window. Is there any way to still allow a Share submenu to work in Ventura and beyond with Mac Catalyst? Thanks so much for any help!
1
1
571
Dec ’23
ITMS-90338: Non-public API usage for UIPrintInfo, UIPrintInteractionController in Mac Catalyst app
We have several Mac Catalyst apps that use UIPrintInfo and UIPrintInteractionController to support printing. Both of these classes are marked as available on Mac Catalyst 13.1 in the documentation and we do not receive any errors or warnings using them in our app. We have successfully uploaded to App Store Connect recently with apps that use those classes, but now are receiving error messages from App Store Connect complaining that the use of these classes is non-public API and receive the ITMS-90338 error, even though no code has changed. Is this an issue on the validation side, or are these classes no longer supported on Mac Catalyst? Thanks in advance for any help!
23
7
4.8k
Jun ’22
UIMenuBuilder add menus next to "Open Recent"
Hi, I would like to add commands directly next to "Open Recent" UIMenuOpenRecent such that they are in the same inline menu and not separated by separators (so for instance, an "Open" and "New" directly next to "Open Recent" in the same menu group like many apps.) I have tried inserting a sibling menu with insertSiblingMenu, which seems to work for getting the menus in the same menu group, but this seems to ignore the UIMenuOptionsDisplayInline and those menus are displayed as submenus. I have also tried using replaceChildrenOfMenuForIdentifier which I've seen used to extend existing inline system menus, but the current children for UIMenuOpenRecent always is nil and this also does not appear to work. Does anyone have any advice on how to achieve this? Thanks so much!
0
0
514
Nov ’21