Giter Site home page Giter Site logo

quntion / lldynamiclaunchscreen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from internetwei/lldynamiclaunchscreen

0.0 0.0 0.0 11.19 MB

Automatically fix iPhone startup diagram display abnormality, 1 line of code to modify the launch screen

Home Page: https://internetwei.github.io/

License: MIT License

Ruby 1.60% Objective-C 98.40%

lldynamiclaunchscreen's Introduction

LLDynamicLaunchScreen

LLDynamicLaunchScreen CI   License MIT   Carthage   CocoaPods   Platform   Support

Automatically fix iPhone startup diagram display abnormality, 1 line of code to modify the launch screen

Gitee

中文介绍

Features

  • Automatically repair the abnormal display of the launch screen map
  • 1 line of code to modify the launch screen diagram
  • Compatible with systems below iOS13

Demo

Dynamic modification Fix exception
demo.gif repair.gif

Usage

// 将所有启动图恢复为默认启动图(Restore all launch screen to the initial state)
[LLDynamicLaunchScreen restoreAsBefore];

// 替换指定类型启动图(Replace the specified type of launch Image)
[LLDynamicLaunchScreen replaceLaunchImage:replaceImage type:LLLaunchImageTypeVerticalLight compressionQuality:0.8 customValidation:nil];

// 自定义暗黑系启动图的校验规则(Customize the verification rules of the dark style launch screen)
LLDynamicLaunchScreen.hasDarkImageBlock = ^BOOL(UIImage * _Nonnull image) {
        
};

// 获取指定模式下的本地启动图(Get the local launch screen diagram in the specified mode)
[LLDynamicLaunchScreen launchImageFromType:LLLaunchImageTypeVerticalLight];

Installation

CocoaPods

  1. Add pod 'LLDynamicLaunchScreen' to your Podfile
  2. Run pod install --repo-update
  3. Import <LLDynamicLaunchScreen/LLDynamicLaunchScreen.h>

Carthage

  1. Add github "internetWei/LLDynamicLaunchScreen" to your Cartfile
  2. Run carthage update --platform ios and add the framework to your project
  3. Import <LLDynamicLaunchScreen/LLDynamicLaunchScreen.h>

Manually

  1. Download all the files in the LLDynamicLaunchScreen subdirectory
  2. Add (drag and drop) the LLDynamicLaunchScreen folder to your project
  3. Import "LLDynamicLaunchScreen.h"

Requirements

The project supports iOS 9.0 and Xcode 10.0 at least. If you want to use it on lower systems, please contact the author.

Note

  • The replacement image size is recommended to be consistent with the screen size.
  • After updating the APP, the default startup diagram will be displayed when the APP is opened for the first time. This is caused by system limitations and cannot be resolved temporarily.
  • You can modify the iPad launch screen diagram, but it is not perfect, and subsequent versions will adapt

Contact

If you have better improvements, please pull reqeust me

If you have any better comments, please create one Issue

The author can be contacted by this email[email protected]

关于LLDynamicLaunchScreen设计思路

License

LLDynamicLaunchScreen is released under the MIT license. See LICENSE file for details.

lldynamiclaunchscreen's People

Contributors

internetwei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.