We want to redirect the user from within the app to general settings app as attached below.
I know openSettingsURLString redirects to app-settings and we can press back to go to general settings. Is it possible to go to settings page directly?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
We are using NEHotspotHelper to annotate the networks when the user opens settings page.
The annotations are not getting displayed for My Networks section on the settings page (the networks user has already connected to atleast once shows up in this section), while the annotations are visible for Other Networks (this is the access point list which the user has never connected to). Also we have observed that if we click on the "i" button next to the wifi access point name and come back to the wifi settings page again, then the annotation shows up again
We are using the following code -
dispatch_queue_t hotspotQueue = dispatch_queue_create("hotspot_queue", 0);
NSString *annotation = @"Custom annotation";
NSDictionary *hotspotHelperRegisterOptions = [NSDictionary dictionaryWithObjectsAndKeys:annotation, kNEHotspotHelperOptionDisplayName, nil];
BOOL returnVal = [hotspotHelperClass registerWithOptions:hotspotHelperRegisterOptions
queue:hotspotQueue
handler: ^(NEHotspotHelperCommand * cmd) {
if(cmd.commandType == kNEHotspotHelperCommandTypeFilterScanList) {
NSMutableArray<NEHotspotNetwork*> *annotatedNetworks = [[NSMutableArray alloc] initWithCapacity:0];
for(NEHotspotNetwork* network in cmd.networkList){
[network setConfidence:kNEHotspotHelperConfidenceHigh];
[annotatedNetworks addObject:network];
}
NEHotspotHelperResponse *response = [cmd createResponse:kNEHotspotHelperResultSuccess];
[response setNetworkList:annotatedNetworks];
[response deliver];
return;
}];