Skip to content

Instantly share code, notes, and snippets.

@Li-blog
Created October 28, 2016 10:34
Show Gist options
  • Save Li-blog/c02fe3a9444a7f79d4e449fa30c65645 to your computer and use it in GitHub Desktop.
Save Li-blog/c02fe3a9444a7f79d4e449fa30c65645 to your computer and use it in GitHub Desktop.
class_replaceMethod(upMgr, @selector(StartUpload_hooked:), orig, method_getTypeEncoding(StartUpload));
class_replaceMethod(upMgr, @selector(StartUpload:), swz, method_getTypeEncoding(StartUpload_hooked));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment