Is there any way to list all swizzled methods in an iOS app?
<p>I'm essentially looking for a way to detect when/what third party libraries swizzle.  I recently ran into a situation where an ad library used an oddball fork of AFNetworking. AFNetworking swizzles NSURLSessionTask, and the two swizzles didn't play nicely under certain circumstances.  I'd really like to be able to detect and sanity check this kind of thing, and ideally even keep a versioned dump of every swizzled method in the app so we have some visibility into who's monkey patching what and what the risks are.  Google and stack overflow search have turned up nothing but a bunch of tutorial on how to swizzle.  Anybody run into this issue or have a solution?  It looks like I might be able to code something up using objc/runtime.h but I can't imagine I'm the first person to need this.</p>