I want to know the reason for last Wi-Fi disconnection. It would be helpful to that I can get the reason-code received from the access point.
I presume we’re talking iOS here. If not, lemme know.
AFAIK there’s no API for this. If you’d like to that added in the future, I encourage you to file an enhancement request describing your requirements.
Please post your bug number, just for the record.
For a catalogue of the Wi-Fi APIs that are available on iOS, see TN3111 iOS Wi-Fi API overview.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"