callkeep icon indicating copy to clipboard operation
callkeep copied to clipboard

I need help with translating this to swift so i can add it to my flutter app

Open miracle101000 opened this issue 3 years ago • 0 comments

Please I am working on flutter and came across this piece of code to be added into my app but My app is in swift language and this is objective-c. Can someone help me translate this line of code

#import <CallKeep.h>

- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(NSArray<id<UIUserActivityRestoring>> * __nullable restorableObjects))restorationHandler {
    return [CallKeep application:application
                        continueUserActivity:userActivity
                        restorationHandler:restorationHandler];
}

miracle101000 avatar Nov 27 '21 13:11 miracle101000