iOS web app: prevent screen dimming/locking - ios

How do I prevent iOS from dimming and/or locking the screen of my WEB app?
This is for a WEB app, so any native code suggestion would not apply.
The WEB app would run without user input and I'd like to avoid iOS automatically dimming/locking the screen (without turning the setting off in the global settings).
Is there a way for a WEB app to tell iOS not to dimm/lock the screen?
If the above is not available, is there any third party app that would monitor the system and turn off screen locking/dimming when a given web app is running?
Thanks.

No you can not turn off the autolock from a WebApp. Also there is no way for any thirdparty app to detect this, since apps can not really run in the background.

Related

Is it possible to turn on/off notification from different applications on ios

I am working on an application that will allow the user to turn off cellular data or at least turn off notifications from other applications on the device, all through my application. Is this possible? (I know that in Android it possible)
Your app has absolutely no control what-so-ever of other apps, not even indirectly. The one exception is using a custom url scheme to open the app, and optionally, ask it to do something.
No, on iOS you can't even find what other apps the user has installed.
Even if you could, they are all sandboxed. You can't touch anything inside the other apps.

Lock iPhone and iPad Screen programmatically

I want to lock screen iPhone and iPad programmatically
I have searched a lot but didn't get proper idea. I have found one app Lock me but it is not worked on after iOS 7.
here is that link
https://github.com/neuroo/LockMeNow
as per my search I think we are able to implement this functionality using private api and using kiosk mode.
I don't think you can programmatically lock the iPhone or iPad from you application. that not full fit the apple policy and its guide line. In iOS app development we can not handle any API that out of the application. Apple not make any API for lock screen that you fire from your native app.
Other things is you are attached one link in your question. that clearly write the limitation that:
This application can obviously not be accepted (as is) on the Apple Store, and that's mostly why I put it here. If you want to use the application, you will need a developer cert (or a jailbroken device and using the iDevice build toolchain).

Can the IndoorAtlas ios SDK run in the background without the ios operating system kill it?

I'm looking for a solution for the following developing problem:
We are developing an ios (on iPhone, ios 8) application, based on the indoor positioning system, and we have found the IndoorAtlas geomagnetic solution. It is very good, but I don't know, how to solve that keeping running the IndoorAtlas in the background, if the user exit from the app or put the app in the background?
Thanks very much!!
This is not possible in normal application. Only certain type of applications can execute code in background, and even those are only woken up for the related callbacks of the application type.
https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html
In your case, the location background mode could work.

Force user to migrate from iphone or ipad application to universal

We have separate application for iphone and ipad. Now customer expecting make a universal application. After universal application successful release how do we force the both user (iphone and ipad) to migrate universal application? Is it possible?
There's little you can do to force them to move. Gentle pushing is your only real option.
You could issue an update with a suggestion that they switch. If you control the server-side (if there is one) you could start refusing to serve the non-universal app as long as you give a suitable error message.

iPad: launch external application when an application starts

Is there an API in OSX that I can use to launch my application when users open any app? Something like a global App Launched event?
No. There is no meaningful multitasking functionality in iOS API.

Resources