IOKit on iOS

The Developer documentation for IOKit marks it as available for iOS 16+ but I had a hard time finding a way to import it into an iOS project.

I finally managed to do that using a bridging header file and iokit_linking.hpp. Why is it that hard to make it work on iOS? Is it okay to do it this way?

If I use any IOKit methods and/or properties in my app will I be able to submit it to the App Store?

Thanks.

Answered by DTS Engineer in 823680022

Hmmmm, I’ve answered this before…

OK, here you go: Proper way to use IOKit in iOS app?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

Hmmmm, I’ve answered this before…

OK, here you go: Proper way to use IOKit in iOS app?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits.

can DriveKit be used to communicate with a non-MFi HID device (a third party CCID reader)?

On what platform?

Your thread started out about iOS and, as I noted in that other thread, DriverKit isn’t available on iOS. So this new question can’t apply to iOS, right?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi. Yes, I'm sorry about that. Thank you for still looking into this.

I should have added that my follow up question was about iPadOS. Can DriveKit be used on iPadOS to communicate with a non-MFi certified third party CCID reader?

I did some research and found out that only USBDriverKit is available on iPadOS and it needs an entitlement from Apple to develop drivers with it.

Is USBDriverKit the correct driver kit to use here or is something more complex like SerialDriverKit more appropriate (but also not available on iPadOS).

Sorry again about the confusion! And thank you for your help!

IOKit on iOS
 
 
Q