|
|
@@ -0,0 +1,75 @@
|
|
|
+#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
|