This commit is contained in:
2025-11-03 16:57:24 +08:00
parent 1673a2f4be
commit 915b329805
7 changed files with 187 additions and 98 deletions

View File

@@ -39,8 +39,8 @@
self.tableView.tableHeaderView = header;
[self.view addSubview:self.tableView];
//
self.items = @[ KBLocalized(@"home_item_lang_test") ];
//
self.items = @[ KBLocalized(@"home_item_lang_test"), KBLocalized(@"home_item_keyboard_permission") ];
// 便
dispatch_async(dispatch_get_main_queue(), ^{ [self.textView becomeFirstResponder]; });
@@ -56,7 +56,7 @@
//
self.title = KBLocalized(@"home_title");
// items cell
self.items = @[ KBLocalized(@"home_item_lang_test") ];
self.items = @[ KBLocalized(@"home_item_lang_test"), KBLocalized(@"home_item_keyboard_permission") ];
[self.tableView reloadData];
}
@@ -87,6 +87,10 @@
//
KBLangTestVC *vc = [KBLangTestVC new];
[self.navigationController pushViewController:vc animated:YES];
} else if (indexPath.row == 1) {
//
KBGuideVC *vc = [KBGuideVC new];
[self.navigationController pushViewController:vc animated:YES];
}
}