580 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
46
views
Mac Catalyst (MAUI): IOHID InputReportCallback not firing, IOUSBInterfaceOpen returns kIOReturnNotPermitted (0xe00002e2) for custom HID device
I am developing a .NET MAUI Mac Catalyst app (sandboxed) that communicates with a custom vendor-specific HID USB device.
Within the Catalyst app, I’m using a native iOS library (built with Objective-C ...
0
votes
1
answer
51
views
Mac-catalyst remove tabbing
I developed my App originally with Xcode 12.4, meaning mac-catalyst 13.6 and/or iOS 13.6.
However, after upgrading to Xcode 16.4, meaining mac-catalyst 15.x, now the Root-window suddenly shows tabbing:...
0
votes
1
answer
50
views
C# Build System (MSBuilds, .csproj): Is there a difference between '#if __IOS__' and '#if IOS' or are they the same?
Essentially what the subject says. I'm getting conflicting information from AI tools on this subject.
0
votes
0
answers
53
views
Identify the real error in the execution of MAUI for MacCatalyst
I have .NET 9 MAUI application that runs on Android, iOS and Windows. Now, I just want to run the same application on MacCatalyst.
So, I downloaded the project on my iMac and opened with Visual Studio ...
0
votes
0
answers
37
views
Maui, Osx, CapturePhotoAsync gives me a black window
Calling MediaPicker.Default.CapturePhotoAsync() gives me a black screen when running on OSX (works fine in android emulator)
--- TL;DR ---
My code is
var photo = await MediaPicker.Default....
0
votes
1
answer
84
views
How to provide iOS widgets to Mac Catalyst?
I have a proxy app with an iOS widget extension that works perfectly when run on a Mac when built as 'Designed for iPad'. But recently we decided to make a full 'Mac Catalyst' target for arm64+x86_64 ...
1
vote
0
answers
93
views
Trouble getting data from .net Maui WebView using EvaluateJavascriptAsync
.Net 8 Maui App, running/debugging on Mac OS.
What I am trying to do:
I am trying to get data from a web view’s local storage. I am expecting serialized json to be returned by localStorage.getItem(‘...
2
votes
0
answers
68
views
How to resolve "Hang Risk" using UIGraphicsImageRenderer from the main thread but only on macOS via Mac Catalyst?
I have some UIKit code that makes use of UIGraphicsImageRenderer to create an image from another image. This code is called from the main thread. When the app is run on iOS, there is no issue. But ...
2
votes
0
answers
83
views
MSAL on MacCatalyst MAUI - Platform not supported
I am working on a MAUI app that uses MS Graph interfaces, such as requesting MS Teams Presence like this:
public static async Task<string?> GetCurrentStatusAsync(CredentialInformation ...
0
votes
0
answers
48
views
Mac Catalyst app does not allow Save & Copy using UIActivityViewController given a URL whereas (Made for iPad) does allow it
I have an iOS App that uses an UIActivityViewController to share files. It works perfectly on iPad, iPhone and on Mac using (Made for iPad). But when I test the Mac Catalyst app it works perfectly ...
0
votes
1
answer
192
views
How to set alternative icon in Mac Catalyst app?
On iOS, we can easily use: "try await UIApplication.shared.setAlternateIconName("iconName")" to set an alternate icon.
When running the app for MacCatalyst, that method is not ...
1
vote
0
answers
50
views
iOS+Mac Catalyst to iOS+NativeMac Universal Purchase
I have an iOS and Mac Catalyst app under the same App Store listing. They share the same purchases (I believe this is called Universal Purchase).
Now, after some time, Mac Catalyst is no longer ...
0
votes
0
answers
80
views
Unable to access Bluetooth and Local Storage Permissions in Maccatalyst Sandbox App MAUI
I cannot access any permissions, especially Bluetooth, and local data in the MacCatalyst app when App Sandbox is enabled in MAUI. The popup asking for permissions is not displaying even though I have ...
-1
votes
1
answer
85
views
Update Visible Range UITextView Method
The app's textView utilizes text kit 2. However the compiler reports it has to fall back to text kit 1 because text kit 1's layout manager was accessed, which was traced back to the code provided.
...
1
vote
1
answer
141
views
How to set initial background color of Mac Catalyst windows?
My iOS and Mac Catalyst app uses a dark color theme by default, regardless of the system color theme. When the app presents a modal view controller (a popup or a popover) on iOS, the background of ...