User Tag List

Results 1 to 3 of 3

Thread: Is it possible to prevent iOS auto-lock (sleep mode)?

  1. #1
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Aug 2011
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it possible to prevent iOS auto-lock (sleep mode)?

    Any way to prevent my iOS app going to sleep (or auto-lock) when the user is not interacting with it?
    I want to make a setting button to make the user enable or disable autolock in its iphone/ipad device.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you can do this on a per frame basis:
    Select your frame and then use the iOS tab in the properties to access the tick box for Disable Idle Timer - this should prevent auto sleep for that frame, but use wisely!
    Not sure how you'd do it within code without cloning your frame and ticking the option and reading the settings before jumping to the appropriate frame.

  3. #3
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Aug 2011
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks AyreGuiter.

    I got it also with code:
    iOS: Application has been deactivated ---- Restart current frame.

    I don´t know which one is "cleaner", but with this I am able to allow user to enable or disable it.

    Thnaks

Similar Threads

  1. How to prevent Sleep Mode while using controllers?
    By Strife in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th November 2013, 06:10 AM
  2. Play sound while in sleep mode?
    By tom79 in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 23rd July 2013, 09:05 AM
  3. Prevent player from leaving window while auto-scrolling
    By benthepoet in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 12th December 2012, 03:38 AM
  4. how switch on the led (caps lock, scroll lock, num lock) in the keyboard??
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 24th April 2012, 12:09 AM
  5. Test to see if the computer is in sleep mode?
    By MikeB in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th September 2009, 04:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •