网上有混淆方法名的方法,但是没有混淆私有函数的方法。
比喻代码: 怎么混淆
Class LSApplicationWorkspace_class =
objc_getClass("LSApplicationWorkspace");
NSObject* workspace =
[LSApplicationWorkspace_class
performSelector:@selector(defaultWorkspace)];
ringa_lee2017-04-17 17:38:07
I seem to have seen one on git, and we have used it. At that time, we were trying to determine whether other apps were installed on the phone. It was possible before iOS9, but now it has become a private API. My colleague searched for a long time on stackoverflow and found a foreign one. My friend, I have it on git but I have forgotten the address. His implementation seems to be the same as the confusion you mentioned
ringa_lee2017-04-17 17:38:07
It seems to be implemented using runtime
I have seen it before. Have to look for