IOS13 Dark Mode is off, the code is as follows:

    NSString *version= [UIDevice currentDevice].systemVersion;
    if(version.doubleValue >=13.0) {// Handle for iOS systems above 13.0 [selfsetOverrideUserInterfaceStyle:UIUserInterfaceStyleLight];
    }
Copy the code