add handle openURL的处理
parent
daba1a5c43
commit
545788e994
|
@ -35,6 +35,7 @@ static MopPlugin *_instance;
|
|||
methodChannelWithName:@"mop"
|
||||
binaryMessenger:[registrar messenger]];
|
||||
_instance = [[MopPlugin alloc] init];
|
||||
[registrar addApplicationDelegate:_instance];
|
||||
[registrar addMethodCallDelegate:_instance channel:channel];
|
||||
_instance.methodChannel = channel;
|
||||
|
||||
|
@ -85,4 +86,8 @@ static MopPlugin *_instance;
|
|||
}
|
||||
}
|
||||
|
||||
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *, id> *)options {
|
||||
return [[FATClient sharedClient] handleOpenURL:url];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <FinApplet/FinApplet.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
|
Loading…
Reference in New Issue