GithubHelp home page GithubHelp logo

Comments (6)

Naituw avatar Naituw commented on August 18, 2024 2

The code looks good, and it should add to the IPAPatch target.

Would you confirm Aspect.m is also added to IPAPatch target?

from ipapatch.

wang9262 avatar wang9262 commented on August 18, 2024 1

Faced the same problem.And solved by @Naituw 's method metioned above.

What a great work!!! Thanks!

from ipapatch.

Naituw avatar Naituw commented on August 18, 2024

Would you post your code in the comment?

from ipapatch.

lizhaobomb avatar lizhaobomb commented on August 18, 2024

我就什么都没写,就是写了个分类
@implementation UIViewController (Logging)

  • (void)load {
    [UIViewController aspect_hookSelector:@selector(viewWillAppear:)
    withOptions:AspectPositionAfter
    usingBlock:^(id aspectInfo){
    NSLog(@"Current VC is %@", [aspectInfo instance]);
    } error:NULL];
    }
    可能是我代码的位置放错了吧。。我放到IPAPatch目录下了,结果就直接crash了。。不过我放到DummyApp目录下的话,不crash了,不过代码好像不执行啊,我还没搞懂这个要怎么才能执行。。

from ipapatch.

Naituw avatar Naituw commented on August 18, 2024

@lizhaobomb I will close this issue now, if it's not your case, please comment below.

from ipapatch.

lizhaobomb avatar lizhaobomb commented on August 18, 2024

太棒了,我的也解决了。谢谢 @Naituw

from ipapatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.