forkingdog / FDStackView

Use UIStackView directly in iOS6+
MIT License
2.53k stars 319 forks source link

How did you automatically replace the symbol for UIStackView into FDStackView at runtime before iOS9. #4

Closed SeanChense closed 9 years ago

SeanChense commented 9 years ago

Please tell me.

sunnyxx commented 9 years ago

See FDStackViewPatchEntry function and assembles in the bottom of FDStackView.m, here's some explanations about how to locate symbol and replace it: https://gist.github.com/OliverLetterer/4643294
And we may post a blog in Chinese talking about it in detail.

SeanChense commented 9 years ago

Looking forward to your good blog :)