处理ios18从其他app用自己键盘 拉起主app的bug

其他问题
This commit is contained in:
2025-11-24 19:58:19 +08:00
parent 8e93f8f86f
commit 15e37841bb
20 changed files with 264 additions and 88 deletions

View File

@@ -0,0 +1,18 @@
//
// KBHostAppLauncher.h
// keyBoard
//
// Created by Mac on 2025/11/24.
// 从扩展拉起主app
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface KBHostAppLauncher : NSObject
/// 从某个 responder 出发,尝试通过 UIApplication 打开宿主 app 的 URL
+ (BOOL)openHostAppURL:(NSURL *)url fromResponder:(UIResponder *)startResponder;
@end
NS_ASSUME_NONNULL_END