580 questions
0
votes
1
answer
39
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
48
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
36
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....
1
vote
0
answers
86
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
78
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
1
answer
160
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 ...
0
votes
0
answers
77
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
vote
1
answer
133
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 ...
0
votes
0
answers
48
views
How to detect KeyRelease .NET MAUI MacCatalyst
So I am making game in .NET MAUI for MacOS. I Cant figure out how to change global variable Globals.SpeedX back to 0 after left or right arrow key release. This is my code but the method OnReleaseKey()...
2
votes
0
answers
74
views
Can I tell when my iOS Widget is running on MacOS (when Use IPhone Widgets is on)
I have an iOS Widget that also can load on the Mac when the Use iPhone Widgets setting is turned on on the Mac in Desktop & Dock.
I want to use a different url scheme to open video clips from the ...
0
votes
1
answer
58
views
Catalyst MacOS TestFlight subscriptions testing not working on Apple M2 Max
I am having problems with testing AppStore subscriptions on Apple M2 Max (macOS 15.0.1). It works as expected on iPhone, iPad and MacBook Pro (Intel chip, macOS 13.5.2)
I download the app from ...
0
votes
1
answer
60
views
Archive times for a Mac Catalyst app suddenly jumped from 1 minute to 60 with Xcode 16
Regular builds are exactly the same as before, but since I updated to Xcode 16 my archive time has gone up to over an hour. It seems to get stuck on compiling swift source files, but it lumps them all ...
1
vote
0
answers
158
views
Is it possible to build a KMM iOS project in Mac Catalyst?
I am working in a KMM project. Now I am curious about if I can build the project in mac-catalyst using xcode.
I am working in a KMM project. Now I am curious about if I can build the project in mac-...
0
votes
0
answers
70
views
Permission denied starting ffmpeg on MacCatalyst (MAUI)
I am using FFMPeg to code a cross platform app for Windows and Mac in Blazor Hybrid (Dotnet Maui).
One of the things I want to do is get information about a video file. To do that I am using ffmpeg ...
0
votes
1
answer
114
views
How to drag a table view item to Finder to create a folder in Catalyst App
I have a UITableView that displays a Group/Note hierarchy analogous to a Finder Folder/Files hierarchy. I have implemented Drag and Drop such that if I drag a Note to the Finder Desktop an HTML file ...
1
vote
1
answer
266
views
MAUI File picker Operation not permitted on MacOS
When I try to select a file in a FilePicker on MAUI I get an error even with the environments.plist updated as required in the MAUI documentation
Error message :
2024-06-11 11:53:58.471 ...
2
votes
0
answers
664
views
Using MAUI SecureStorage on a MacCatalyst app
Developing a MAUI app on a Mac mini (M1) with Rider 2024.1.2 targeting MacCatalyst.
TL;DR: I'm trying to get a simple app working that sets and gets a value from SecureStorage in a MAUI app targeting ...
1
vote
0
answers
162
views
MPMusicPlayerController.systemMusicPlayer.nowPlayingItem returns nil on MacCatalyst while playbackState is .playing
I'm encountering an issue with MPMusicPlayerController.systemMusicPlayer.nowPlayingItem on MacCatalyst, where it returns nil even though playbackState reports .playing.
This behavior differs from iOS,...
1
vote
1
answer
199
views
drawHierarchy broken - image too bright
EDIT1
I have created github repo to reproduce the issue
https://github.com/PrashantKT/ImageViewScreenShotIssue
it is just 2 page app to demonstrate the problem
I have this code to take screenshot of ...
2
votes
1
answer
285
views
Mac Catalyst: Horizontal Mouse scroll with click drag
Preparing an iPad App for native MacOS experience using Mac Catalyst (and AppKit when needed) and using SwiftUI.
We observe that Horizontal Scroll is tricky using a Mouse! Most users have the habit of ...
1
vote
1
answer
366
views
.net maui mac catalyst app how to specify INSTALL_PATH when app is packed
I use this command to build .net maui mac catalyst .pkg
dotnet publish -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:EnableCodeSigning=true -p:EnablePackageSigning=...
2
votes
1
answer
2k
views
How to respond to the new Text Size setting in macOS 14 Sonoma?
Summary
macOS 14 Sonoma adds the "Text Size" setting under Settings -> Accessibility -> Display. This is similar to the "Text Size" setting that has been in iOS for quite ...
6
votes
1
answer
3k
views
How to generate .dSYM file for .NET MAUI app
How do I generate symbols file for my .NET MAUI app?
Is it this setting?
<MtouchNoSymbolStrip>True</MtouchNoSymbolStrip>
Right clicked project and selected Properties. Under iOS > Build,...
0
votes
1
answer
127
views
Get the focused/current window among multiple windows - Mac Catalyst
I am working on UIMenuBuilder in Mac Catalyst. Because my app supports multiple scenes with different classes of UISceneDelegate, I need to validate UICommands (func validate(_ command: UICommand)) ...
3
votes
1
answer
162
views
How to enable a user to close a dialog with the keyboard in SwiftUI on Mac Catalyst?
What is the idiomatic way for a user to close a dialog on Mac and to enable this in a SwiftUI Mac Catalyst App? I believe the idiomatic way is to press the escape key. I haven't been able to get this ...