iOS detect connection to unsecured Wi-fi - ios

I know, that similar question has been already asked on SO, but it's pretty old, and doesn't provide the way to solve the problem using public API, only the private one.
At the same time, there are apps in App Store which displays such information, for example McAfee Security:
This means, that there must be a public API acceptable by Apple to solve this task.
I have searched in iOS frameworks documentation and on the web quite intensively, but no luck.
Could anybody give me a clue of how they do this?
Any hint would be much appreciated.

Related

Settings in iPhone errors

So silly question here but if someone would humor me and lend any advice I would appreciate it SO much. I’ve had some issues since I’ve created my apple account, but one thing I keep noticing specifically that confuses me (my Apple ID once said it can not be changed, now it allows me the option to change my Apple ID and phone/email everything)
I wouldn’t be so concerned with this, but I’ve had reasons for safety/security concerns and then I noticed this. I see many “null” type messages in my data when I view it directly from my device as well. I’m not tech savvy at all so this is all beyond me. Forgive me please if I’m not posting this correctly. I receive error messages from apple when trying to download my data even. I’ve updated and reset my phone before but it doesn’t help. I want to just know this is user error on my end but I’m not finding information to confirm that anywhere I try to look. Thank you so much for anyone who might be able to point me in the right direction.

xcode - Network Strength in iOS

I know that it is not really going to help me out, but still I have some doubts related to "CTGetSignalStrength()" method of Core Telephony framework. What I know about this method is:
It is an undocumented method.
It belongs to a Private API.
If I use this method, App store will reject my application.
Also, I read that there is no public API to get the Signal Strength in iOS.
My reason to pick this topic up again because all the other answers are atleast 2 years old.
And also, I have seen some applications on App store which really tells about the cellular/Wifi Strength(Like Dr.Wifi-something).
If its not possible to get the signal Strength, how those applications are getting it? Or there is some other way now through which we can get the network Strength. I would really appreciate if someone can enlighten me on this. Thank you.
EDIT : I have checked that question before, the one in the comment, but please see that :
1. The answer is really old.
2. In the comments, you can see someone asked "How OpenSignal is doing there signal strength measurement?" and there is no reply to that.
3. Every opportunity to get signal strength is either removed in the updated iOS version, or giving null or 0 as output.
So I am not really sure if there is no solution present for the problem or, the solution is not yet updated to that question.
from iOS 9 and later it seems you can get wifi signal strength look at this https://developer.apple.com/documentation/networkextension/nehotspothelper
But also you must get entitlement. From Apple docs
The com.apple.developer.networking.HotspotHelper entitlement is required
in order to use NEHotspotHelper. To request this entitlement, complete
the questionnaire at
https://developer.apple.com/contact/network-extension.
hope this helps.

iOS 8 VPN Services, changing server address

Due to the terrible lack of documentation on the NEVPNManager, i'm going to state the question right here.
I've seen a couple of VPN apps working with server switching. It's like installing a basic VPN profile and allowing it to be updated. However i can't seem to find any information on doing this.
Could someone point me into the right direction? Simply updating the profile doesnt seem to work.
Thanks
Quite easy,
Just override the config. It seems that after installing the certificate, you can use the same code as creating one, but then it will simply change the profile.
I wonder if more things have the same logic in Apple world :-)

iOS API for refilling prescriptions?

I'm considering an iOS application that will allow a user to scan and refill Rx Prescriptions using their iPhone.
There are several iOS applications out there that do this now. I'm wondering what type of APIs are available for me to work with to do the same.
Due to the nature of the task I'm sure they will commercial but that is fine.
Any tips or advice would be greatly appreciated.
There is unlikely to be any such public API. You should check with the pharmacies you're planning to interoperate with, but chances are that it's simply not available, as there are some extremely stringent privacy requirements* surrounding all private health information in the US.
*: in particular, HIPAA

Getting applications information installed on the device

I want to get the information of the installed applications on the device by code. Like for example when entering the settings in the device then applications you can see all the applications installed ... well I want to get that by code... how to do that?
Any idea about that topic?
Check out the API documentation on CodeModuleManager.
And, part of the way StackOverflow works is that when you get an answer that solves your problem you should accept that answer. This is how you repay people for taking the time to help you out. You are a new user, and not too many questions yet, but if you get to far ahead of yourself without accepting answers people may stop answering them.

Resources