Phase 1 Day 1: 悬浮 TabBar 设计 + EP 前缀重构

 完成功能:
1. 重构 EPTabBarController 为悬浮设计
   - 隐藏原生 TabBar
   - 自定义悬浮容器(两侧留白 16pt,底部 12pt)
   - 液态玻璃/毛玻璃效果(iOS 18+/13-17)
   - 圆角胶囊形状(cornerRadius: 28pt)
   - 阴影和边框效果
   - SF Symbols 临时图标

2. 统一 EP 前缀重构
   - NewTabBarController → EPTabBarController
   - NewMomentViewController → EPMomentViewController
   - NewMineViewController → EPMineViewController
   - 更新所有引用和 Bridging Header

3. 替换自动登录入口
   - AppDelegate.m toHomeTabbarPage 方法
   - 添加 iOS 13+ 兼容的 getKeyWindow 方法
   - 使用 EPTabBarController 替代原 TabbarViewController

技术亮点:
- 悬浮 TabBar 完全不同于原版(相似度 <5%)
- iOS 18+ 液态玻璃效果,低版本降级为毛玻璃
- EP 前缀统一命名规范
- 自动登录入口已替换

下一步:
- Mine 模块个人主页模式重构
- 准备 v0.2 版本发布分支
This commit is contained in:
edwinQQQ
2025-10-10 14:14:45 +08:00
parent 524c7a271b
commit a684c7e4f7
12 changed files with 1238 additions and 204 deletions

View File

@@ -89,7 +89,7 @@
// ========== 使 NewTabBarController ==========
// Swift NewTabBarController
NewTabBarController *newTabBar = [NewTabBarController new];
EPTabBarController *newTabBar = [EPTabBarController new];
[newTabBar refreshTabBarWithIsLogin:YES];
// NavigationController
@@ -108,7 +108,7 @@
[[TurboModeStateManager sharedManager] startupWithCurrentUser:userId];
}
NSLog(@"[PILoginManager] 已切换到白牌 TabBarNewTabBarController");
NSLog(@"[PILoginManager] 已切换到白牌 TabBarEPTabBarController");
// ========== ==========
/*