添加基本页面

This commit is contained in:
2025-10-29 14:28:57 +08:00
parent 045d5eaff8
commit 23317c9fd4
8 changed files with 146 additions and 3 deletions

View File

@@ -15,7 +15,16 @@
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
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];
}
/*