Daniel Siebert
Daniel Siebert

Reputation: 169

How to display custom text in ios wifi settings

I have a very specific question in programming an ios app.

In general when you open your ios wifi settings, there should be a list of available networks to choose.. so far..

now I want that in some cases, if a network meets specific requirements, a text is diplayed down below the network name (e.g. like "connect with WIFIAPP") and by clicking on the network you open the "WIFIAPP"..

Is there any possibility to do that and if yes, how? A framework or something like that?

Hope you guys understand my concern..

Thank you for any help!

Daniel

Upvotes: 0

Views: 441

Answers (2)

Paulw11
Paulw11

Reputation: 115002

The feature you are after is implemented by the NEHotspotHelper class in the Network Extension Framework. In order to use this class you need to complete a questionnaire and be authorised by Apple.

More details are included in the Hotspot Network Subsystem Programming Guide, but essentially your app runs in the background and takes part in the network scanning process. It can provide an annotation for recognised networks and the user can invoke your app from Settings in order to complete the network authentication.

Upvotes: 2

Sander
Sander

Reputation: 1375

Unfortunately, access to wifi network parameters is completely closed from developers. From your app you can only tell apart if device is closed to wifi or 3G cellular network. Nothing more. I don't even say about native Settings app. You can do only some extra limited things outside of your app, like play music, or show your custom Widget.

Upvotes: 0

Related Questions