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

@@ -36,6 +36,8 @@ static NSString * const kKBKeyboardExtensionBundleId = @"com.loveKey.nyx.CustomK
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// 1. // 1.
[[FGIAPManager shared] setConfigureWith:[IAPVerifyTransactionObj new]]; [[FGIAPManager shared] setConfigureWith:[IAPVerifyTransactionObj new]];
/// 2
[KBLocalizationManager shared].supportedLanguageCodes = @[ @"en", @"zh-Hans"];
// Skip TabBar // Skip TabBar
BOOL hasShownSexVC = [[NSUserDefaults standardUserDefaults] boolForKey:KBSexSelectShownKey]; BOOL hasShownSexVC = [[NSUserDefaults standardUserDefaults] boolForKey:KBSexSelectShownKey];

View File

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

View File

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

View File

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

View File

@@ -31,7 +31,7 @@
[header addSubview:self.textView]; [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.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
self.tableView.delegate = self; self.tableView.delegate = self;
self.tableView.dataSource = self; self.tableView.dataSource = self;

View File

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