Created
June 26, 2019 14:13
-
-
Save codexss/90950ca0caef572a0e65c6823a4df1b2 to your computer and use it in GitHub Desktop.
hook pixiv ad-banner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIViewController.h> | |
@interface _TtC5pixiv26AdContainingViewController : UIViewController | |
@property(nonatomic) __weak UIView *adContainerView; | |
@end | |
%hook _TtC5pixiv26AdContainingViewController | |
- (void)viewDidLayoutSubviews{ | |
[self.adContainerView removeFromSuperview]; | |
} | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment