I know that many methods require calling a superclass method, and some methods are not needed,
I am looking for sth about the swizzling.It method is initialized in the load method, but in the tutorial there is no [super load] .
I am wondering if this is incorrect or just does not need to be called [super load] .
+ (void)load { static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ Class class = [self class];
By the way, this method is used to correct navigation distortion.
Sometimes I had a problem, and I debugged it, I think it concerns the flow. Therefore, I am doing this swizzling to add sth to the system method.
If you can say that there is a problem with navigational corruption or this swizzling method, I also really appreciate it.
source share