This commit is contained in:
2025-12-17 18:22:37 +08:00
parent 1e04e7c39a
commit 4a26419e67
4 changed files with 190 additions and 71 deletions

View File

@@ -0,0 +1,21 @@
//
// KBKeyboardSubscriptionFeatureItemView.h
// CustomKeyboard
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/// 顶部滚动的功能点 Item左图右文
@interface KBKeyboardSubscriptionFeatureItemView : UIView
- (void)configureWithImage:(UIImage *)image title:(NSString *)title;
/// 根据 title 计算推荐宽度textWidth + 50图片 35 + 间距 5 + 左右内边距各 5
+ (CGFloat)preferredWidthForTitle:(NSString *)title;
@end
NS_ASSUME_NONNULL_END