This commit is contained in:
2025-11-17 21:08:25 +08:00
parent 7254e2dbd9
commit 0ef7b7d1d8
6 changed files with 9 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface KBLangTestVC : UIViewController
@interface KBLangTestVC : BaseViewController
@end
NS_ASSUME_NONNULL_END

View File

@@ -5,7 +5,7 @@
#import <UIKit/UIKit.h>
@interface KBSkinCenterVC : UIViewController
@interface KBSkinCenterVC : BaseViewController
@end

View File

@@ -9,7 +9,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface KBTestVC : UIViewController
@interface KBTestVC : BaseViewController
@end

View File

@@ -31,7 +31,7 @@
[header addSubview:self.textView];
//
self.tableView = [[BaseTableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleInsetGrouped];
self.tableView = [[BaseTableView alloc] initWithFrame:CGRectMake(0, 60, KB_SCREEN_WIDTH, KB_SCREEN_HEIGHT - 60) style:UITableViewStyleInsetGrouped];
self.tableView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
self.tableView.delegate = self;
self.tableView.dataSource = self;

View File

@@ -10,6 +10,7 @@
#import "KBSkinDetailVC.h"
#import "KBMyHeaderView.h" //
#import "KBMyListCell.h"
#import "KBTestVC.h"
@interface MyVC () <UITableViewDelegate, UITableViewDataSource>
@property (nonatomic, strong) BaseTableView *tableView; //
@@ -92,7 +93,8 @@
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[tableView deselectRowAtIndexPath:indexPath animated:YES];
KBTestVC *vc = [[KBTestVC alloc] init];
[self.navigationController pushViewController:vc animated:true];
}
#pragma mark - Lazy