Close

Themehits

Download Touch Timeout Nulled

 


Kiosk timer monitors device for touch so the app can be reset to the initial view whenever not in use. The demo resets to a signup form which users must fill out to gain access to the app but you can use any view you want.

This is simple to implement and enables the ability to push a view automatically after a specified period of time has lapsed without any user interaction.

Notes: The timer will start anytime a touch is detected. This means that if the user touches the main screen (in my case “mainView”) even without navigating away from that view, the same view will push over itself after the allotted time. Not a big deal for my app, but for yours it might be. The timer will only reset once a touch is recognized. If you want to reset the timer as soon as you get back to the page you want to be at, include this code after the …pushViewController:controller animated:YES];

When you download this project you’ll get a complete demo that you can drop right into any project. Included you’ll find the timer, as well as a demo viewController, and demo files for each of the files you’ll need to modify without your project.

There are inline examples of how to set this up using a XIB viewcontroller or if you prefer to use Storyboards there is some demo code for storyboards as well that you’ll just have to uncomment.

Not to worry, this is all covered with easy to follow step by step instructions in a readme.md file that you’ll get when you download the project. I highly suggest that you always thoroughly read through all the documentation before using any code that you download.

The provided step by step setup instructions should have you up and running in no more than a few minutes.

Step 1

Drop the kioskMode header and implementation file into your project and open up the header file to line 10.

Set the following line to the amount of time in minutes you want the timer to be set for.

define kioskTimeout 4

That’s all you need to do in that file.

Step 2

Open up your project support file main.m and add a line to import the kioskMode.h file and add it as a subclass to UIApplicationMain like this..

import “kioskMode.h”

int main(int argc, char *argv[]) {
    @autoreleasepool {
        return UIApplicationMain(argc, argv, NSStringFromClass([kioskMode class]), NSStringFromClass([AppDelegate class]));
    }
}

Step 3

Open up your AppDelegate.m file and import the kioskMode.h file and set it up to monitor the event that will be triggered on timeout like this..

import “kioskMode_UIApplication.h”

- (BOOL) application : (UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 
{

return YES;
}

- (void) applicationDidTimeout : (NSNotification *) notif
{
    NSLog (@"timeout");
    // add view here
}

To reset the timer manually you can call this after pushViewController:

[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]

Demo = Touch Timeout
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/touch-timeout/8918235″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]

Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy Touch Timeout from the The Developer ( DCondrey ) website. Thank you.
Download = Touch Timeout-[Updated].zip



Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.