System method failure of Appdelegate in iOS runtime Hook system

according to the runtime hook technology shared by the online gods, I want to do it myself

< H2 > principle: intercept the ViewDidiLoad method of the controller, and realize the method exchange. The effect is obvious and effective < / H2 >.

as shown in the figure:

:

< H2 > thought hard, but I couldn"t figure it out. Just want to know why, is the problem of the system, or my above code is wrong. All I want is to verify < / H2 >
Mar.02,2021
Menu