In iOS, is it possible to check the status of your personal hotspot from code? We need to confirm the user has enabled their hotspot before our application starts a routine, is this possible to check?
Related
I'm trying to design a flow where if the bluetooth is turned off, then display a specific page, or skip the page entirely of bluetooth is already on. However, I want to do this without triggering this popup on IOS 13+.
I am using IONIC 6 to build the IOS app and using diagnostic.isBluetoothAvailable() to do this. However, this asks bluetooth permissions if not requested.
Is this possible? Thanks bunch!
I'm using swift 4.2. I want to create personal hotspot on my iOS device(iPhone) but not finding any solution to this. I Read on another blog that Apps are not allowed to access settings like bluetooth, wifi and personal hotspot is it true??
You cannot create hotspot programmatically.
The only way to create hotspot in iOS is to go to setting and do it manually.
iOS is always conscious about the users private data and the user
settings so if you are changing any type of any settings the user
should be informed and user should on his own should turn off/on the
the settings like WiFi/hotspot or anything which is related to the
setting of the user in the settings menu.
Hi i need an logic for wifi sharing:
On my phone I can allow users near to me to connect to my wifi hotspot. i want to share my wifi through application. Is it possible ?
It isn't possible unless you jailbreak your phone. The options to create a wifi hotspot are locked to carrier settings and are only available if you jailbreak your phone.
I have this problem where when I go out my iPhone 6s on iOS 9.3.4 tries to connect to every hotspot I pass. Then when it is trying to connect I can't get emails/texts/alerts etc. My solution has been to turn off WiFi. But then I get home again and forget to turn it back on and I wonder why my internet is so slow until I remember to turn WiFi back on. I got the idea for an app to build a geofence around my house and turn off WiFi when I leave that area. I know I can't do this automatically because of the iOS sandboxing restriction, but can I pop an alert when I cross the geofence boarder that asks if I want to turn WiFi on/off?
I haven't found anything current that allows me to do this. I have searched extensively and only found "Stumbler" but it appears to be from 2007. I only know C# and do all my app development in Xamarin so C# code would be best or if you know of any libraries/components/plugins.
Also, I just want this app for myself so no need to submit to app store.
Thanks,
Goal:
I want to create app (with Swift) where user set his admin passcode and setup wifi settings (SSID, wifi password) which can not be changed from general settings on his device but only by using my app after entering admin passcode. I looked at apple documentation (SystemConfiguration) without success. I can distribute it Ad-hoc without submitting app for review.
Why I need it?
My customer have application on iPad device which is not working on newer iOS versions and have configured wifi router with specific network traffic restrictions for preventing access to apple update servers. Problem is when someone changes wifi settings and connect to another network without those restrictions. He will see update reminder every day and probably he will install that update and application stops working.
Jailbreak is not solution. I can not edit or update this installed application he has on iPads.
Questions:
Is there a way to setup iOS (9.1) device wifi settings (network it is connected to)?
Is it possible to prevent user from changing wifi
settings in general settings on his device?