iOS Question implement openurl

icefairy333

Active Member
Licensed User
Longtime User
Hi all,
I'm wrapping an payment library ,the document says I need to implement openurl
just like this:
B4X:
@implementation UIApplication

- (void)openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options completionHandler:(void (^)(BOOL))completion{
    NSLog(@"openurlwith");
}



@end

how can I do it please?
 

icefairy333

Active Member
Licensed User
Longtime User
to using:completionHandler

I'm wrapping ping++ payment library from:https://www.pingxx.com
ping++.png

It ask me to implement openurl,and this is his demo on github:https://github.com/PingPlusPlus/pingpp-ios/blob/master/example/demoapp/AppDelegate.m
 
Upvote 0
Top