How to detect if the device is in Developer Mode

When I plug a device and debug an app to it, the Xcode do something that prepare that device for development and creates a item on Settings app.


I want a way to, programmatically, detect on iOS app if the device is in Developer Mode or if this option is enabled on Settings app.

I know this question is very old, but I would love to know if that's possible.
There is no API to determine if a device is used for development.

Has something changed in ios16 when developer mode is enabled as part of the device settings?

Hello, Did you find any solution ? I need to know programatically if device is in developer mode.

Regards Rana

Developer Mode, new to iOS 16, has not changed this -- there is no API to determine if a device is used for development. What are you trying to accomplish?

Thank you edford for your reply,

we are making some banking apps so as in developer mode the device security will be reduced, i want to prompt the user if he is using my app while developer mode is on.

Regards

I need same info as Rana87

Same here.

In iOS 16, Apple gave us a new developer mode setting that prevents people from inadvertently installing potentially harmful software and reduce attack vectors exposed by developer-specific features.

It would be very helpful if we had the possibility for our banking app to detect whether the developer mode is enabled or disabled. This would significantly increase security for our users.

@edford Please can you consider this for the next iOS release, that an app can query the developer mode status?

Regards

I would also love see of this feature. We will look to raise this in Feedback Assistant.

How to detect if the device is in Developer Mode
 
 
Q