ThenDynamicLaunch 0.0.1

ThenDynamicLaunch 0.0.1

ghost 维护。



  • ghost

ThenDynamicLaunch

从 LLDynamicLaunchScreen(https://github.com/internetWei/LLDynamicLaunchScreen) 分支而来

用法

首先
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    ThenDynamicLaunch.shared.config()
    return true
}
然后
ThenDynamicLaunch.shared.replace(with: UIImage(named: "pexels-1"), direction: .portraitLight)

需求

  1. iOS 11.0+

安装

Swift 包管理器

  1. 文件 > Swift 包 > 添加包依赖
  2. 复制并粘贴 https://github.com/ghostcrying/ThenDynamicLaunch 然后按说明操作

Carthage

  1. 将此行添加到您的 Cartfile 中:github "ghostcrying/ThenDynamicLaunch"
  2. 阅读官方说明

CocoaPods

  1. 安装 CocoaPods 的最新版本: gem install cocoapods
  2. 将此行添加到您的 Podfile 中: pod 'ThenDynamicLaunch'
  3. 安装 pod: pod install