ios反射调用类的方法(objectiveC)
// 正常调用
CLASSA *a = [[CLASSA alloc] init];
[a CallFunc];
// 反射调用
Class cls = NSClassFromString(@"CLASSA");
id a= [[cls alloc] init];
SEL selector = NSSelectorFromString(@"CallFunc");
[a performSelector:selector withObject:nil];
补充:移动开发 , IOS ,