摘要:
DKNightVersion is a lightweight iOS framework adding night mode/theme to your iOS app.https://github.com/Draveness/DKNightVersion 阅读全文
摘要:
根据光线感应关闭和开启屏幕UIDevice *_curDevice = [UIDevice currentDevice]; [_curDevice setProximityMonitoringEnabled:YES]; NSNotificationCenter *_defaultCenter =... 阅读全文
摘要:
//邮箱+ (BOOL)checkEmail:(NSString *)email{ NSString *emailRegex = @"[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}"; NSPredicate *emailTest = [NSP... 阅读全文