Files
keyboard/Shared/KBHostAppLauncher.h
CodeST d8a84dc478 处理上架的问题
1:处理了openurl 拉起问题
2:去掉了http
3 隐私等等
2026-03-05 14:30:07 +08:00

25 lines
578 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// KBHostAppLauncher.h
// keyBoard
//
// Created by Mac on 2025/11/24.
// 从扩展拉起主app
#import <Foundation/Foundation.h>
#import <TargetConditionals.h>
#if __has_include(<UIKit/UIKit.h>)
#import <UIKit/UIKit.h>
#else
@class UIResponder;
#endif
NS_ASSUME_NONNULL_BEGIN
@interface KBHostAppLauncher : NSObject
/// 在主 App 内打开 URL。注意在 App Extension 环境下会直接返回 NO扩展内请使用 `extensionContext openURL:`)。
+ (BOOL)openHostAppURL:(NSURL *)url fromResponder:(UIResponder *)startResponder;
@end
NS_ASSUME_NONNULL_END