How to detect and connect to a Wifi network progra

2019-02-04 19:49发布

问题:

I wonder how can I detect and make a connection to a Wifi network programmatically just like the WifiFoFum app does in Apple Store. This app has been approved and recently updated so there must be a legal way of doing it. If anybody knows any way of doing it please post a code snippet... even if it is an undocumented API call and would probably be rejected by Apple. I just need to know if it can be done and how. Thanks

回答1:

I was looking for the same thing but sadly those features are only available in private APIs which Apple does not allow anymore at all! So there is no official way of finding or connecting to networks!



标签: iphone sdk wifi