Protects sensitive data in your app snapshot.
LaunchScreenSnapshot protects sensitive data in your app snapshot.
LaunchScreenSnapshot is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'LaunchScreenSnapshot'
github "alexruperez/LaunchScreenSnapshot"
dependencies: [
.Package(url: "https://github.com/alexruperez/LaunchScreenSnapshot.git")
]
LaunchScreenSnapshot.protect()
LaunchScreenSnapshot.unprotect()
let launchScreenSnapshot = LaunchScreenSnapshot.shared
let launchScreenSnapshot = LaunchScreenSnapshot(application: UIApplication, notificationCenter: NotificationCenter, bundle: Bundle)
let restoreAnimationOptions = LaunchScreenSnapshot.Animation(duration: TimeInterval, delay: TimeInterval, dampingRatio: CGFloat, velocity: CGFloat, options: UIViewAnimationOptions)
launchScreenSnapshot.protect(with: UIView?, trigger: LaunchScreenSnapshot.Trigger, animation: restoreAnimationOptions, force: Bool)
alexruperez, [email protected]
LaunchScreenSnapshot is available under the MIT license. See the LICENSE file for more info.