twonly-app-dependencies/no_screenshot/ios/Classes/NoScreenshotPlugin.m

15 lines
588 B
Objective-C

#import "NoScreenshotPlugin.h"
#if __has_include(<no_screenshot/no_screenshot-Swift.h>)
#import <no_screenshot/no_screenshot-Swift.h>
#else
// Support project import fallback if the generated compatibility header
// is not copied when this plugin is created as a library.
// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
#import "no_screenshot-Swift.h"
#endif
@implementation NoScreenshotPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
[IOSNoScreenshotPlugin registerWithRegistrar:registrar];
}
@end