fix:1、删除max广告。2、更换sdk

This commit is contained in:
2026-05-27 10:41:05 +08:00
parent d4f6b82209
commit bd28506b1f
945 changed files with 23352 additions and 21625 deletions
@@ -0,0 +1,12 @@
#import <Foundation/Foundation.h>
extern "C" {
__attribute__((visibility("default")))
const char* _GetDeviceCountryCode() {
@autoreleasepool {
NSLocale *currentLocale = [NSLocale currentLocale];
NSString *countryCode = [currentLocale objectForKey:NSLocaleCountryCode];
return strdup([countryCode UTF8String]); // 使用strdup确保内存安全
}
}
}