| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- #import <UIKit/UIKit.h>
- @interface MHFamilyMainViewController: UIViewController
- @end
- @interface MHSplashViewController: UIViewController
- - (void)jumpAd;
- @end
- %hook MHFamilyMainViewController
- - (void)viewDidLoad {
- %log;
- %orig;
- //UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"提示" message:@"测试米家去广告插件" preferredStyle:UIAlertControllerStyleAlert];
- //UIAlertAction *okAction = [UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
- //}];
- //[alertController addAction:okAction];
- //[self presentViewController:alertController animated:YES completion:nil];
- }
- - (void)refreshFocusAdData{
- %log;
- }
- %end
- %hook MHTabBarViewController
- - (void)p_setupBrandZoneTab:(id)arg1 {
- %log;
- }
- %end
- %hook MHSplashViewController
- - (void)viewDidLoad {
- [self jumpAd];
- }
- %end
- %hook MHSplashADProcessor
- + (id)shared {
- return nil;
- }
- - (void)displaySplashAd {
- }
- - (id)init {
- return nil;
- }
- - (id)loadSplashAdCacheDataAdList {
- return nil;
- }
- - (id)loadSplashAdCacheData {
- return nil;
- }
- %end
- %hook AppDelegate
- - (void)showUserGuideOrSplashAD {
- %log;
- }
- %end
|