According to the instruction on your site, we can finally retrieve Network Signal Strength information as expected after being added into Network Extension Entitlement list. That sounds great! 🙂
However, there is still one concern that we cannot get the update signal strength when the Network signal changes constantly.
Could you please specify which function/method we should use to get the update data?
For details, here is our current code to get the update:
NSMutableDictionary *options= [[NSMutableDictionary alloc] init];
[options setObject:@"Hotspot" forKey:kNEHotspotHelperOptionDisplayName];
BOOL returnType = [NEHotspotHelper registerWithOptions:options queue:dispatch_get_main_queue() handler: ^(NEHotspotHelperCommand * cmd) {
// our implementation code here cannot be processed even though the returnType == TRUE
}];
.........
//GET NETWORK
NSArray * networkInterfaces = [NEHotspotHelper supportedNetworkInterfaces];
NEHotspotNetwork *network = [networkInterfaces lastObject];
double signalStrength = network.signalStrength; // the value of network.signalStrength is not updated constantly here
In addition, I'm concerned that we can retrieve the history of 24-hour Online Status or not?
Looking forward to receiving your advice,😉
Thanks,
For more context here, see iOS Network Signal Strength.