// // HomeVC.m // keyBoard // // Created by Mac on 2025/10/29. // #import "HomeVC.h" #import "KBGuideVC.h" @interface HomeVC () @end @implementation HomeVC - (void)viewDidLoad { [super viewDidLoad]; self.view.backgroundColor = [UIColor whiteColor]; // Simple demo content so the tab is distinguishable UILabel *label = [[UILabel alloc] initWithFrame:CGRectZero]; label.text = @"Home"; label.textColor = [UIColor darkTextColor]; label.font = [UIFont systemFontOfSize:20 weight:UIFontWeightSemibold]; [label sizeToFit]; label.center = self.view.center; label.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin; [self.view addSubview:label]; [[KBNetworkManager shared] GET:@"https://m1.apifoxmock.com/m1/5438099-5113192-default/app/config" parameters:nil headers:nil completion:^(id _Nullable jsonOrData, NSURLResponse * _Nullable response, NSError * _Nullable error) { NSLog(@"===="); }]; } - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ // KBGuideVC *vc = [[KBGuideVC alloc] init]; // [self.navigationController pushViewController:vc animated:true]; // [KBHUD showInfo:@"加载中..."]; [KBHUD show]; [KBHUD showAllowTapToDismiss:true]; } /* #pragma mark - Navigation // In a storyboard-based application, you will often want to do a little preparation before navigation - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { // Get the new view controller using [segue destinationViewController]. // Pass the selected object to the new view controller. } */ @end