I'm creating a method to send debug info to the support team for one of my apps. I have method calls like these:
NSString* appVersion = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"];
NSString* build = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];;
NSString* iOSVersion = [[UIDevice currentDevice] systemVersion];;
An additional requirement is to understand how our internal timeout interacts with the device's screen auto lock timer. To do so we need to compare our internal timeout with the ipad screen lock timer.
Is there a way to get the device's auto-lock time that is defined in device settings? See screen below for the number I'm trying to read