dlsym
为枚举值返回 null
NSLog(@"%s",dlsym(RTLD_DEFAULT, "NSTextAlignmentCenter"));
输出
2014-01-28 13:07:04.243 TestProject[763:60b] (null)
最佳答案
枚举值是一个“整数常量表达式”。他们没有引用资料。
关于ios - 如何使用 dlsym 检查枚举值是否存在?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21399603/