ThenDynamicLaunch
Fork from LLDynamicLaunchScreen(https://github.com/internetWei/LLDynamicLaunchScreen)
Usage
first
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
ThenDynamicLaunch.shared.config()
return true
}
then
ThenDynamicLaunch.shared.replace(with: UIImage(named: "pexels-1"), direction: .portraitLight)
Requirements
- iOS 11.0+
Installation
Swift Package Manager
- File > Swift Packages > Add Package Dependency
- Copy & paste
https://github.com/ghostcrying/ThenDynamicLaunch
then follow the instruction
Carthage
- Add this line to your Cartfile:
github "ghostcrying/ThenDynamicLaunch"
- Read the official instruction
CocoaPods
- Install the latest release of CocoaPods:
gem install cocoapods
- Add this line to your Podfile:
pod 'ThenDynamicLaunch'
- Install the pod:
pod install