Skip to content

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

@OSSpinLock

Description

@OSSpinLock

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

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

    %orig;
    }
    %end

hook协议里面的方法无效

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