Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Protects sensitive data in your app snapshot.

License

NotificationsYou must be signed in to change notification settings

alexruperez/LaunchScreenSnapshot

Repository files navigation

TwitterVersionLicensePlatformCarthage compatibleSwift Package Manager CompatibleBuild StatusCode Coveragecodebeat badge

LaunchScreenSnapshot protects sensitive data in your app snapshot.

LaunchScreenSnapshot

Installation

LaunchScreenSnapshot is available throughCocoaPods. To installit, simply add the following line to your Podfile:

pod'LaunchScreenSnapshot'

Or you can install it withCarthage:

github "alexruperez/LaunchScreenSnapshot"

Or install it withSwift Package Manager:

dependencies:[.Package(url:"https://github.com/alexruperez/LaunchScreenSnapshot.git")]

Usage

Protect your app snapshot:

LaunchScreenSnapshot.protect()

Unprotect your app snapshot:

LaunchScreenSnapshot.unprotect()

Advanced usage

Shared instance:

letlaunchScreenSnapshot=LaunchScreenSnapshot.shared

Custom built:

letlaunchScreenSnapshot=LaunchScreenSnapshot(application: UIApplication, notificationCenter: NotificationCenter, bundle: Bundle)

Provided parameters:

letrestoreAnimationOptions=LaunchScreenSnapshot.Animation(duration: TimeInterval, delay: TimeInterval, dampingRatio: CGFloat, velocity: CGFloat, options: UIViewAnimationOptions)launchScreenSnapshot.protect(with: UIView?, trigger:LaunchScreenSnapshot.Trigger, animation: restoreAnimationOptions, force: Bool)

Etc.

  • Contributions are very welcome.
  • Attribution is appreciated (let's spread the word!), but not mandatory.

Authors

alexruperez,contact@alexruperez.com

License

LaunchScreenSnapshot is available under the MIT license. See the LICENSE file for more info.


[8]ページ先頭

©2009-2025 Movatter.jp