Programming with iOS, is it possible to open wifi settings on the device on a prompted dialog ? Like on a UIAlertController ?
Using the following code, I am able to directly land into the wifi settings of the device.
let url:NSURL! = NSURL(string : "prefs:root=WIFI")
UIApplication.sharedApplication().openURL(url)
iOS gives a button at top left corner of screen to get back to my app in one click from the wifi settings page. But I am looking for ways to make this easier for my user. So, is it possible to launch ios wifi settings in a modeless dialog so that user has a feeling of staying within my app while interacting with ios wifi settings from my app ?
Looking for ways to simplify the user experience.
Related
Is there a way to check from the command-line terminal, if an alert view is shown?
I can ssh onto my iPad and wanted to check whether a basic-auth popup from either springboard or the safari browser is present. Does safari store the state of the alert in a specific plist/file on the device?
I can also run an app as a background service on the iPad, but will it capture the alerts shown in other apps? Can this be done via activator?
We ended up on using a Theos Tweak app and hooking in on show method of UIAlertView
When Guided Access is enabled, buttons on a UINavigationBar don't activate when you tap on one side of them (and the button does confusingly still dim and highlight as you tap).
You can actually see it in the iOS built-in apps. eg:
iPhone (iOS 9.2.1) > Contacts > triple-click the Home button to start Guided Access
Now pick a contact, then try to go back by tapping near the “s” of “< All Contacts”. You will see “All Contacts” dim and restore as you tap it, but it doesn’t actually activate.
This does not happen when not in Guided Access.
Can anyone else confirm this is a problem?
Why does this happen? Is there a workaround in iOS to avoid this?
I have an app that needs to work properly in Guided Access mode.
UPDATE 15/JUN/2016: The same problem happens in "Single App Mode"
eg Apple Configurator > Set an iPhone or iPad as Supervised > Start Single App Mode > Choose the "Contacts" app and as above see that trying to go BACK using "< All Contacts" doesn't work when you tap near the "s".
Is there a way to open the Settings in Display&Brightness when tapping an alertView buttons? I want the user to be redirected here in order to change its Standard/Zoom view mode.
No.
In iOS 8, there is no supported method for a third-party app to open Settings to anything other than the top level, or to their app's custom settings, if they exist.
What you see in Tinder and Facebook are system alerts that iOS presents when your app wants to use the network or location services and (cellular data or) wi-fi is turned off. This is managed by iOS, and is not something that Tinder or Facebook had to add to their app.
I am developing an iPad application & I want to keep use only my application in iPad. User is not able to make any changes with Home button too.
I have tried same thing with "Guided Access". But, it will stop push notification also.
I have tried it with iPhone configuration Utility. But, I am not able to find any
restriction for Home button.
So, anyone have any idea how can I implement it?
You can't disable the Home button from the sandbox.You have to use the physical accessories to stop the Home button action, after opening your application.
My question:
I have an iOS app, it is minimized, and I want it to start when user press home button three times (or, for example combination of buttons, like "HOME+Volume-" and so on). Can I make it for non-jailbroken devices, only with native iOS functions?
It's not possible to customise iOS like that.
Without jailbraking, apps can only be opened by using custom URL schemes from other apps or by normally tapping on the on the home screen. To have an app open like this you would have to modify the OS and there is no way you can do that without a jailbreak.
Standard OS functionality like pressing the home button multiple times cannot be overridden because Apple is really against modifying any part of way the user interacts with apps or the OS.
No.
Not possible without jailbreak and then it would have to be some sort of preference in the OS settings.