Thanks Eskimo.
For now, I have found a workaround:
When I use AccessorySetupKit to add the iOT device as an accessory, and afterwards use NEHotspotConfigurationManager to connect to it, the wifi connection doesn't get disconnected after an iPhone reboot.
Topic:
App & System Services
SubTopic:
Networking
Tags: