We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, here is my code:
[self aspect_hookSelector:@selector(initWithCoder:) withOptions:AspectPositionAfter usingBlock:^(id<AspectInfo> aspectInfo) { __weak UINavigationItem *item; NSInvocation *invocation = aspectInfo.originalInvocation; [invocation invoke]; [invocation getReturnValue:&item]; if (item.title) { UILabel *titleLable = [[UILabel alloc] init]; titleLable.textColor = [UIColor whiteColor]; titleLable.font = [UIFont systemFontOfSize:16]; [titleLable setText:item.title]; [titleLable sizeToFit]; item.titleView = titleLable; } } error:nil];
I can't step into if statement, but po item.title in console, I get the right value.
if
po item.title
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, here is my code:
I can't step into
if
statement, butpo item.title
in console, I get the right value.The text was updated successfully, but these errors were encountered: