Search results for

Visual Studio Maui IOS

105,791 results found

Post

Replies

Boosts

Views

Activity

Mac Catalyst: IOHID InputReportCallback not firing, USBInterfaceOpen returns kIOReturnNotPermitted (0xe00002e2) for custom HID device
Hi everyone, 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 am using a native iOS library (built with Objective-C and IOKit) and calling into it via P/Invoke from C#. The HID communication layer relies on IOHIDManager and IOUSBInterface APIs. The device is correctly detected and opened using IOHIDManager APIs. However, IOHIDDeviceRegisterInputReportCallback never triggers — I don’t receive any input reports. To investigate, I also tried using low-level IOKit USB APIs via P/Invoke from my Catalyst app, calling into a native iOS library. When attempting to open the USB interface using IOUSBInterfaceOpen() or IOUSBInterfaceOpenSeize(), both calls fail with: kIOReturnNotPermitted (0xe00002e2). — indicating an access denied error, even though the device enumerates and opens successfully. Interestingly, when I call IOHIDDeviceSetReport(), it returns status = 0, meaning I can successfully s
1
0
29
2d
Reply to Testing Family Controls & Multicast Networking APIs - Educational Use Without Paid Developer Account?
I have a two part answer for you: Entitlements Networking On the entitlements front, I recommend that you review the table in Developer Account Help > Reference > Supported capabilities (iOS). The Apple Developer column shows all the capabilities available to folks using free provisioning, aka a Personal Team. There’s no supported way to use capabilities that aren’t listed there. On the networking front, you wrote: [quote='803362021, ImmuneFOMO, /thread/803362, /profile/ImmuneFOMO'] Bonjour networking between Mac and iPhone for session coordination [/quote] You don’t need the multicast entitlement if you’re using Bonjour [1]. You only need that entitlement if you’re sending and receive multicasts yourself. If you’re having problems getting Bonjour to work, I recommend that you work through the steps in Getting Started with Bonjour. That doesn’t help you with Family Controls, alas )-: Oh, I should mentioned one other thing: Many educational institutions have their own developer team. If that’s t
2d
Accessing Previous iOS Beta Versions for Testing
Hello everyone, I recently contacted Apple Developer Support regarding access to an older iOS beta build (specifically iOS 26.0 Developer Beta 1, build 23A5260u for iPhone 15 Pro). Developer Support confirmed that they can’t provide access to previous betas and advised me to bring the question here. My question: Is there any official or supported method for developers to reinstall or access older, unsigned beta builds for the purpose of testing compatibility or debugging legacy features? I’m aware that Apple stops signing older versions once newer builds are released, but I’m wondering whether programs like AppleSeed, enterprise testing frameworks, or specific partner channels provide legitimate access to prior betas for regression or compatibility testing. Any insights or referrals to Apple contacts, teams, or individuals who may be able to advise on this topic would be greatly appreciated. Best regards, Xavo Nizer
1
0
62
2d
Reply to macOS App Groups / transition to profile based groups
If you have existing users without data stored in an app group container that uses a macOS-style app group ID, you should continue to use that macOS-style group ID. There’s no mechanism to, say, move content from that app app group container to a different app group container associated with an iOS-style app group ID. The good news is that, as of Jun 2025, these macOS-style app group IDs are authorised by your provisioning profile, which avoids a number of headaches. App Groups: macOS vs iOS: Working Towards Harmony has the details. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
2d
Retrieving the DRM expiration time for FairPlay offline assets on iOS
I’m implementing FairPlay offline streaming on iOS and ran into a question about DRM expiration handling. As far as I understand, when issuing a FairPlay offline license, there are typically two time windows: 1. The period during which the user can start offline playback (the longer “rental window”). 2. Once playback starts, the duration allowed to complete playback (the shorter “playback window”). I’d like to display this information (the remaining validity or expiration time) in the app’s UI next to each downloaded asset. My question is: 👉 Is there a way to programmatically check or retrieve the expiration time for a FairPlay offline asset on the client side (via AVFoundation or AVContentKeySession)? Any guidance or best practices for surfacing DRM expiration info in the UI would be greatly appreciated.
0
0
148
2d
Displaying and working with Favorites in iOS app
New to iOS development and I've been trying to make heads or tails of the documentation. I know there is a difference between the data fields returned from songs from the user library and from the category, but whenever I search on the apple site I can't find a list of each. For example, Im trying to get the releaseDate of a song in my library, but it seems I'll have to cross-query either the catalog entry for the using song.catalogID or the song.irsc but when I try to use them I can't find a cross reference between the two. I'm totally turned around. Also trying to determine if a song in my library has been favorited or not? isFavorited (or something similar) doesn't seem to be a thing. Using this code and trying to find a way to display a solid star if the song has been favorited or an empty one if it's not. Seems like a basic request but I can't find anything on how to do it. I've searched docs, googled, tried. Does apple want us to query the user's Favorited Songs playlist or something? How do I
1
0
139
2d
Reply to DeviceDiscoveryUI and Bonjour for iOS
When it was first introduced, DeviceDiscoveryUI supported a single use case, namely, a tvOS app that wants to connect to its equivalent running on a nearby iOS device. That changed in iOS 26, where DeviceDiscoveryUI is now part of the Wi-Fi Aware story. This is one of two paths into Wi-Fi Aware, the other being AccessorySetupKit. WWDC 2025 Session 228 Supercharge device connectivity with Wi-Fi Aware has the details. [quote='804414021, nikhil2701, /thread/804414, /profile/nikhil2701'] Can I use DeviceDiscoveryUI… to discover devices through Bonjour … ? [/quote] No. The DDUI support is wired up to Wi-Fi Aware’s discovery infrastructure, not to Bonjour. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2d
SwiftUI List with Geometry header behavior changed after building app with Xcode 26
We have a custom implementation of what we call a “Scrollable Header” in our app. After building with Xcode 26, we’ve observed a change in behavior with the List component. The issue can be seen in the attached GIF: As the user scrolls up, the header is expected to collapse smoothly, and it does—until the moment the next list item becomes visible. At that point, the header collapses prematurely, without any apparent reason. We’ve identified that this behavior occurs after the list’s data-fetching logic runs, which loads additional items as the user scrolls. Below is the ViewModifier responsible for handling the collapsing header logic: @available(iOS 18.0, *) public struct L3CollapseHeaderIOS18: ViewModifier { private let minHeight: Double = 0 private let expandedHeight: CGFloat private let L3Height = 44.0 private let isViewVisible: Bool @Binding private var currentHeight: CGFloat @State private var lastOffset: ScrollOffsetInfo = ScrollOffsetInfo(offset: 0.0, offsetToBottom: 0.0, scrollableContent: 0
1
0
78
2d
Reply to Accessing Incoming SMS or MSS
A Mac app? macOS doesn’t have an API for accessing the user’s SMS messages. You might be able to make some progress by using AppleScript to script the Messages app, but that’s quite limited. On iOS there is TelephonyMessagingKit, but it comes with its own limitations. Rather than summarise them here, I recommend that you read the Default carrier messaging apps section of the docs. If the above isn’t sufficient, feel free to file an enhancement request outlining your specific requirements. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
2d