Skip to content

怎么hook协议delegate里面的方法? #371

Description

@OSSpinLock

请教兄弟们,直接hook方法是有用的
%hook UIApplicationDelegate

  • (void) applicationDidEnterBackground:(id) arg
    {
    %log;

    %orig;
    }
    %end

hook协议里面的方法无效

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions