Detect Xbox/PS4/MFi controller on iOS

Hello. I haven’t looked into this yet, but I want to detect which type of controller is being used on iOS. On PC I use SDL_GameControllerName. Will that work on iOS or is there a different/better way? Or is there some iOS specific functions that will help with this? I want to display the correct button icons. Thanks!

For the record, SDL_GameControllerName does work on iOS. My Xbox One controller shows up as “XBOX WIRELESS CONTROLLER”, and PS4 shows as “DUALSHOCK 4 WIRELESS CONTROLLER”. I just look for XBOX/DUALSHOCK and anything else I assume is a MFi controller.