WIFI SSID
-
Hi there!
Can anyone show me how to access the current WIFI SSID via Pythonista? This would be awesome in the widget.
Thanks,
John
-
omz's solution works great!
Thanks everyone!
-
Hi @omz,
I found that your solution is not work anymore (ios 13.3.1). Its return "wifi" instead of correct name. Do you have ideas?
-
@vladimir_key omz solution works for me but you need iOS 13.3 and that you Pythonista app has permission to access your location (iOS 13 limitation)
See Discussion
Seems that if you receive "wi-fi", you should be in iOS 12
-
Hi @cvp,
Thank you! Yep, it was location permission problem. Now its working and my iOS 13.3.1.
-
For some unknown (for me) reason, I got this error message:
"No method found for selector "isKindOfClass:"Any clue?
-
Same for me
-
Looks to be some kind of internal bug in
objc_util
, though I don’t have an explanation right now.
-
@omz seems that CNCopyCurrentNetworkInfo(ns('en0')) returns nil like old bug before ios13.3
-
For me it no longer works since Pythonista 3.3
-
Could have something to do with the fact that 3.3 is built with the iOS 13 SDK.