Last active
June 26, 2019 14:57
-
-
Save codexss/24d5376255e4bcbf82b2230074daee98 to your computer and use it in GitHub Desktop.
hook for tieba client
This file contains hidden or 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
%hook TBCSplashLaunchADView | |
- (void)setupUI{} | |
%end | |
//启动闪图广告 | |
%hook TBCHomePageViewController | |
- (void)setupTableHeaderView:(id)arg1{} | |
%end | |
//首页顶部广告 | |
%hook TBCLegoVideoAdCardCell | |
- (void)setObject:(id)arg1{} | |
+ (double)tableView:(id)arg1 rowHeightForObject:(id)arg2{ | |
return 0; | |
} | |
%end | |
//贴间视频广告 | |
%hook TBCAdCriusTableViewCell | |
- (void)setObject:(id)arg1{} | |
+ (double)tableView:(id)arg1 rowHeightForObject:(id)arg2{ | |
return 0; | |
} | |
%end | |
//贴间图片广告 | |
%hook TBCFeedAlaLiveCell | |
- (void)setObject:(id)arg1{} | |
+ (double)tableView:(id)arg1 rowHeightForObject:(id)arg2{ | |
return 0; | |
} | |
%end | |
//首页直播推广 | |
%hook TBCVideoMiddleAdItem | |
- (_Bool)canVideoMiddleAdShow{ | |
return false; | |
} | |
%end | |
//视频列表广告 | |
%hook TBCHomeVideoMiddleViewController | |
- (_Bool)adv_showADV{ | |
return false; | |
} | |
%end | |
//视频末尾广告 | |
%hook TBCPromotionItem | |
- (id)init{ | |
return 0; | |
} | |
%end | |
//图片浏览器广告 | |
%hook TBCAdCriusContainerView | |
- (void)setObject:(id)arg1{} | |
- (double)heightForObject:(id)arg1{ | |
return 0; | |
} | |
%end | |
//帖末广告 | |
%hook TBCTabMyBannerCell | |
- (void)setupBannerView{} | |
+ (double)tableView:(id)arg1 rowHeightForObject:(id)arg2{ | |
return 0; | |
} | |
%end | |
//个人中心Banner | |
%hook TBCTabMySwanHistoryCell | |
- (void)setupSubviews{} | |
+ (double)tableView:(id)arg1 rowHeightForObject:(id)arg2{ | |
return 0; | |
} | |
%end | |
//个人中心小程序Banner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment