Page 1 of 1
Prevent screen from dimming
Posted: Mon Jan 17, 2011 6:51 pm
by andyh1234
Is it possible to prevent the screen from dimming after the user does nothing for a while?
Im just playing with livecode os at the moment, writing basics like clocks etc to see how it works, but one of the first problems with things like clocks etc is the screen dims after about 20 seconds of inactivity. If there is a flag I can set so this does not happen it would be good.
Andy
Re: Prevent screen from dimming
Posted: Tue Jan 18, 2011 3:46 am
by RRobert
In ObjC you would add the following line to the application delegate.
Code: Select all
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
I don't think it is possible in LiveCode yet.
See:
iOS Application Programming Guide: Implementing Common Application Behaviors
You should file a report in the
QA Center.
Robert
Re: Prevent screen from dimming
Posted: Tue Jan 18, 2011 11:02 am
by andyh1234
Thanks, I can see that is xCode, seems a simple enough thing to do there.
Unfortunately I cannot log into the QA Center, I cannot see anywhere you can sign up for an account, only a log in.
Re: Prevent screen from dimming
Posted: Tue Jan 18, 2011 2:17 pm
by Janschenkel
You can always email support at runrev dot com to either file it for you, or grant you access to the quality center.
Jan Schenkel.
Re: Prevent screen from dimming
Posted: Tue Jan 18, 2011 2:24 pm
by andyh1234
Thanks Jan, ive done that now.
I think I need to a new bookmark to keep track of the different lists, but its just great to be able to ask someone when I hit a brick wall, hopefully I can answer other peoples questions as well.
Thanks again.
Andy