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.
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"