LLDynamicLaunchScreen icon indicating copy to clipboard operation
LLDynamicLaunchScreen copied to clipboard

不用更新APP版本即可修改启动图,可以使用网络图片;自动修复启动图显示异常。

Results 15 LLDynamicLaunchScreen issues
Sort by recently updated
recently updated
newest added

看代码是因为 `if ([app_version isEqualToString:old_app_version] && ![self isEmptyDir:localPath]) return; ` return掉了。swift版本没有该问题

到系统设置里切换暗黑/明亮模式后,展示自定义启动图失败,实际展示了默认启动图。调用了 replaceVerticalLaunchImage 方法。删掉app重装后也是如此,只要在“设置-显示与亮度-外观”切换了“浅色/深色”模式,都只会在初次安装app时的外观模式下才能正常展示自定义的启动图。

项目集成LLDynamicLaunchScreen SDK后,然后使用[LLDynamicLaunchScreen replaceLaunchImage:]方法,会走到LLDynamicLaunchScreen文件中的219行: return [self ll_operateOnTheLaunchImageFolder:^NSError * _Nonnull(NSString * _Nonnull path) { NSString *launchImageName = [self ll_getLaunchImageNameWithType:type atPath:path]; if (launchImageName == nil) { return errorWithDescription(@"无法获取系统启动图名称,请联系作者:[email protected]"); } 然后直接返回,请问该如何解决?项目目前使用的是LaunchImage设置启动页图片。希望得到您的回复,不胜感激!谢谢!

![image](https://github.com/internetWei/LLDynamicLaunchScreen/assets/36027902/b34984e4-1a57-4bc6-bd1c-622a5b3230b3) UIGraphicsBeginImageContextWithOptions这个方法在iOS17中已经deprecated了,但是项目中有多处使用了这个方法,我在其他三方库中发现不少作者已经移除了这个方法,并使用了UIGraphicsImageRenderer来代替。 ![image](https://github.com/internetWei/LLDynamicLaunchScreen/assets/36027902/0507c699-b443-4f4f-bb91-5e2b641cd131) 不知道作者是否注意到这个问题。

Thread 4 Crashed: 0 libsystem_platform.dylib 0x1f4d40f70 _platform_memmove + 208 1 CoreImage 0x19bfdb644 __35-[CIImage initWithCGImage:options:]_block_invoke + 72 2 CoreImage 0x19bef6320 SurfaceApplyPlaneBlock + 228 3 CoreImage 0x19bfdb4ac -[CIImage initWithCGImage:options:] + 2620 4...

ll_getLaunchImagePath 方法返回一直为空 DEBUG发现 [NSFileManager.defaultManager fileExistsAtPath:path] 校验一直为false 路径打印出来为 "/var/mobile/Containers/Data/Application/xxx/Library/SplashBoard/Snapshots/xxx - {DEFAULT GROUP}", 对比Demo中打印路径也基本一致,但是就是校验false

环境:xcode14.2 真机:12 mini 复现场景: 首次安装app,首页部分ui元素设置clear color,展示是白色的,下次启动展示正常。 注释掉自动修复逻辑,首页ui展示正常。