top | item 13819218

(no title)

tomasf | 9 years ago

CNCopyCurrentNetworkInfo gives any app network info, including the SSID.

discuss

order

wlesieutre|9 years ago

Does this still work? A cursory googling says it was deprecated in iOS 9 betas but may have been re-enabled?

larkost|9 years ago

Depreciated is not removed. Apple is usually very conscientious about depreciating things, then waiting a while before removing them. In some cases they have gone to great lengths... for example the now 5 year depreciation of OpenSSL: first they marked it depreciated, which generates a compiler warning, then after a few years they removed the headers from the MacOS SDK so you couldn't compile new software but left the binary in place so that old software would continue to work. The next step will probably be to remove that binary, something I would expect in MacOS 10.13 (sometime this year) or 10.14 (presumably next year).