-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hello,
Do you know how to implement your library in an Ios written in Obj-C ?
Thanks for your help
# SWIFT
import ScreenProtectorKit
class AppDelegate: FlutterAppDelegate {
private lazy var screenProtectorKit = { return ScreenProtectorKit(window: window) }()
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
screenProtectorKit.configurePreventionScreenshot()
return true
}
override func applicationDidBecomeActive(_ application: UIApplication) {
screenProtectorKit.enabledPreventScreenshot()
}
override func applicationWillResignActive(_ application: UIApplication) {
screenProtectorKit.disablePreventScreenshot()
}
}
# OBJ-C ?Metadata
Metadata
Assignees
Labels
No labels