+ (NSString *)getAccountId
{
#if __has_include(<Center/Center.h>)
return userInfo.accountId;
#else
return nil;
#endif
}
使用__has_include来检查项目是否引入某个类
最新推荐文章于 2025-04-22 11:20:07 发布
+ (NSString *)getAccountId
{
#if __has_include(<Center/Center.h>)
return userInfo.accountId;
#else
return nil;
#endif
}