处理ios18从其他app用自己键盘 拉起主app的bug
其他问题
This commit is contained in:
18
Shared/KBHostAppLauncher.h
Normal file
18
Shared/KBHostAppLauncher.h
Normal 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
|
||||
Reference in New Issue
Block a user