Users want Auto-Lock to be disabled using my navigation utility. Can I control automatic locking from an application?
[also: "How to stop the iPad from sleeping or pause"]
This will prevent the dull screen and go into sleep mode.
[UIApplication sharedApplication].idleTimerDisabled = YES;
Source: https://habr.com/ru/post/1713345/More articles:MOSS vs. traditional ASP.NET - comparisonAsynchronous ObjectContext.SaveChanges ()? - asynchronousCan focus on SplitContainer be avoided? - winformsHow to make Nhibernate handle non-existing database columns gracefully - c #OOP for two interacting classes - oop.UICulture page - How to get a UICulture code with two letters? - asp.netБиблиотека базового класса - c#Sound Processing - Beat Matching Music Player on Android - javaStrange cookie issue for Javascript / Cross Site - javascriptReload the model for the UITableViewController before [tableview reloadData] - objective-cAll Articles