我有一个可以使用和不使用链接器标志的应用程序。但是,如果没有链接器标志,我在向 View 中添加数据时会得到非常不同的行为。
最佳答案
This flag causes the linker to load every object file in the library that defines an Objective-C class or category. While this option will typically result in a larger executable (due to additional object code loaded into the application), it will allow the successful creation of effective Objective-C static libraries that contain categories on existing classes.
关于iphone - -ObjC 链接器标志有什么作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6629979/