xcode - Network Strength in iOS - 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.

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.

How to initialize a CKSubscription in iOS 10.3

I am building an app that needs to subscribe to record changes in the public database of iCloud. Now, after watching the apple video's and reading their documentation, I decided to get to work. However, I immediately got stuck here:
All initialization methods on a CKSubScription are deprecated. This can be seen here, but meanwhile apple still seems to use the very same methods in their documentation here.
This left me surprised. Looking around on the web and SO, there doesn't seem too be much information or any tutorials available (at least, none with up to date info on initializing subscriptions), probably because this technology is relatively new and these changes are recent. I have very superficial experience with CloudKit, so I'd rather ask for a decent way to do this than to improvise something myself. My question is:
How to initialize a CKSubscription?
Obviously, if the entire idea of subscriptions is outdated I am open to any answer that will result in my app receiving pushes when records of specific types appear in my public database.
Seems like CKSubscription is really more or less deprecated.
According to http://iosdevetips.blogspot.de/2016/06/deprecated-apis-in-ios-10.html you should use CKRecordZoneSubscription and CKQuerySubscription now.
Update:
Like Trevis pointed out, the docs are not really helpful here, but at least Xcode shows a somewhat helpful Warning:
If you are looking for a new class to substitute Apple's own documentation, use CKQuerySubscription in place of CKSubscription. They have almost identical initializers.

Wifi scan in WinMo 6.5

New to posting here, so please forgive if my question is kinda basic.
I'm trying to find a way to scan for all available wifi access points on a WinMo6.5 device. I need get every individual access point (by MAC address) and its signal strength, not just a list of available SSIDs. I thought I found the answer here, but the link posted in the answer is dead. Any assistance would be greatly appreciated.

Can whether or not a phone call was answered be confirmed from an iOS app?

I already know how to call a phone number from within an app. What I'm wondering is whether there's any way to confirm whether or not that call was answered (just getting a boolean of whether it happened would be good enough)? I suspect the answer would be "no" since the app is basically just giving a one-way communication message to the phone to call the number. However, I thought I'd double check with this community before I give up on finding a way to do it. This particular feature is meant for an enterprise app, so I'm able to use any tool available to make this happen, regardless of what Apple has to say about it.
Take a look at CoreTelephony Framework to see what's available. It depends on your exact circumstances as to how accurate you can get...

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