Open Display & Brightness Settings on AlertView button - ios

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.

Related

How to dismiss iOS camera Access popup?

My app requests access to the iPhone/iPad camera. This results in the native iOS popup to appear, asking for user confirmation.
Is there a way in which I can dismiss this iOS popup (so before the user has made the OK / Don't Allow choice)?
For recent versions of iOS this popup automatically appears when you request write or read access for iOS Photo Library or use some of the AVFoundation framework components.
You can not dismiss it programmatically but you sure can create your own alert before showing the system one so you can have more control over what the user does.
It is the case in many 3rd party apps because when the user declines the access, it's not easy to ask them to go to settings and re-enable it from there. One of the easiest examples to implement would be something like this.

Can I open ios wifi settings in a prompt dialog like UIAlertController?

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.

How to check if an SpringBoard alert / Safari browser popup is present?

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

Restrict iPad to only one application

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.

Can I start iOS app by pressing home button for any times&

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.

Resources