580 questions
1
vote
1
answer
402
views
How to test Multiplatform SwiftUI app in Catalyst on a Mac
I'm learning SwiftUI, and have a Multiplatform App I'm building. Selecting Multiplatform causes Xcode 15 to create both MacOS and iOS targets.
I would also like to test out my iOS app and make sure it ...
2
votes
1
answer
653
views
Why is TARGET_OS_IPHONE not skipping over the code when building for Mac Catalyst?
I am using the Texture/AsyncDisplayKit library in an app for iOS and macOS Catalyst. It has this known issue on macOS:
https://github.com/TextureGroup/Texture/issues/1549
It basically throws the error ...
2
votes
1
answer
107
views
Error using the dialogIcon view modifier that was introduced for Mac Catalyst 17
How can I use the dialogIcon view modifier that was introduced for Mac Catalyst 17? I get this error message 'dialogIcon' is unavailable in iOS compiling with Xcode 15.0.1 on Mac 13.6 targeting Mac (...
0
votes
1
answer
666
views
Disable close button and miniaturize window in MAUI MacCatalyst application
I have a MAUI app (exclusively for MacCatalyst). I need to work with a C# library so I cannot rewrite it in Xcode.
I want to gray out the close button and miniaturise the window at app launch. I know ...
1
vote
3
answers
468
views
Can I use MacOS WKWebKit in Mac Catalyst app?
My client has an iPad app that runs a web app in a WkWebView. The web app streams video using the MediaSource API, which is available on iPad and Mac but not iPhone. When running the app on Mac using ...
0
votes
1
answer
125
views
How to determine what triggers a context menu presentation
I'm working on an app for iPad and Mac Catalyst. I have implemented undo using custom undo managers. This is so there can be a separate undo manager for each layer in the project. I've noticed that ...
0
votes
0
answers
596
views
Why the Drag and Drop of files does not work in .Net Maui for the MacCatalyst platform. Specifically the DragOver and Drop event?
I have a page of a .Net Maui application that contains several Frame type controls inside a FlexLayout to which I have activated the Drop gesture. Following xaml code:
<FlexLayout Grid.Row="1&...
2
votes
1
answer
1k
views
Run MAUI app with Mac Catalyst under MacOS in system tray (Background)
I'm trying to write a MAUI app that runs in the SystemTray. I managed to do this on Windows. Unfortunately I can't figure out how to get this to work under MacOS.
I created the system tray based on ...
3
votes
1
answer
584
views
navigator.mediaDevices.getUserMedia doesn't work on macos catalyst WKWebView
I've got the following error on Mac Catalyst WKWebView:
TypeError: undefined is not an object (evaluating 'navigator.mediaDevices.getUserMedia')
macOS 13.5.1 (22G 90)
Safari 17.0 (18616.1.24.11.5, ...
0
votes
1
answer
169
views
Separate entitlements for iPad and Catalyst
I have a drawing app initially created for iPad. One of the features is a utility that uses core Bluetooth to help locate a misplaced Apple Pencil. This works on iPad but doesn't work on Catalyst ...
0
votes
0
answers
149
views
Private API to embed a Mac Catalyst component in a native AppKit app?
I would like to embed a Mac Catalyst component, like TOCropViewController or MessageKit (I am not providing a link to either to avoid getting this post flagged as spam, but if you google them you will ...
0
votes
1
answer
760
views
how to get (publish) .app or pkg file for MacOS in Visual Studio in Windows
I'm developing an application using .NET MAUI Xaml(earlier known as WPF) to publish cross platforms. As far as my research I couldn't find any decent solution to get .App or pkg file to distribute ...
3
votes
0
answers
61
views
UIDatePicker is not working on macOS Catalina
Here is the code for UIDatePicker:
_datePicker = [[UIDatePicker alloc] init];
_datePicker.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
_datePicker....
0
votes
0
answers
48
views
UITableview cells "leak" beyond top and botom of Of the Tableview
I have several UITableViews in an app and when scrolling, all seem to display one cell above or below the frame of the tableview before the cell disappears. Any way to have it the disappear or fade ...
0
votes
1
answer
851
views
Mac Catalyst: Cursor position doesn't match touch location on UIView
I'm trying to build a drawing tool on Xcode building for Mac Catalyst, using the UIKit Framework, but I'm running into issues with cursor location accuracy:
After initializing an iOS project ...
1
vote
1
answer
338
views
Mac Catalyst toolbar increases in height with .principal placement
I am developing a SwiftUI Mac Catalyst app with a simple NavigationView and a toolbar.
As soon as I give my toolbarItem the .principal placement the toolbar increases in height (nearly doubles). In ...
2
votes
2
answers
1k
views
Grouped Collection View shows empty groups on iOS
I have a MAUI application with a view binded to a viewmodel containing a grouped CollectionView with these properties set:
<CollectionView
x:Name="MyList"
...
1
vote
1
answer
4k
views
Using Launcher in .NET MAUI to open a PDF file for viewing
I have a .net maui app that I am trying to get running on MacOS (Catalyst).
When using the example provided in the documentation a "share" dialog open up instead of the PDF file and the ...
2
votes
2
answers
914
views
Missing Library Error in Mac Catalyst when distributed through Testflight
The iOS version of the app is functioning correctly on TestFlight, and there are no issues when building the Mac Catalyst version of the app from Xcode. However, when distributing the app to ...
0
votes
0
answers
192
views
How do I add to the App self-name Menu Item?
Maui easily allows adding menu items, but I can't figure out how to add a Preferences menu under the app menu. For example, Visual Studio Mac has Preferences, as other apps do, on a self-titled ...
0
votes
1
answer
2k
views
Hiding dock icon when application is hidden
How can I hide the dock icon of my MacCatalyst app, developed using .net 7 MAUI, when the app is hidden by either minimizing it or using the "CMD+H" command? I have tried changing the info....
2
votes
1
answer
291
views
Suggestions for Authentication of Mac Catalyst app in MAUI
I am trying to migrate our Xamarin.Mac app to MAUI and am looking for suggestions for Authentication as MSAL does not support Catalyst
Trying to use MSAL fails to compile for Mac Catalyst
0
votes
1
answer
1k
views
How can I get the full path of a captured picture in .NET MAUI for Mac Catalyst platform?
I’m trying to implement a function to capture and attach a picture in .NET MAUI. It seems to be correctly working on all platforms but MAC Catalyst. The issue seems to be the FullPath property of the ...
0
votes
1
answer
634
views
Voice over continues to read previous page even when page is turned
We have a reader app similar to apple books. We are facing following accessibility issue on mac catalyst version of the app:
When the content on the page is read out by voice over and we turn the page ...
-1
votes
1
answer
431
views
Is there a way to use IOS API to get Mac os version of my App working?
I am building iOS and MacOS app. Both share Swift code base. Seems like Mapbox does not support MacOS.
So currently I am using Mapbox GL JS as a web view.
What I found is if I use my styles in Mapbox ...