llDark icon indicating copy to clipboard operation
llDark copied to clipboard

UIViewController的方法交换导致的问题

Open lizhaobomb opened this issue 2 years ago • 1 comments

UIViewController.methodExchange(@selector(llDark_viewDidAppear:), @selector(viewDidAppear:));

这个会导致我们的埋点SDK不能主动上报,大佬有什么解决方案吗? 先注释掉有没有什么影响

lizhaobomb avatar Mar 18 '22 10:03 lizhaobomb

您好,UIViewController.methodExchange(@selector(llDark_viewDidAppear:), @selector(viewDidAppear:));这行代码可以注释掉。 它的作用是切换到深色模式下并自动生成深色启动图。主要体现在当你切换到深/浅色模式后,APP的启动页面会跟随你设置的深/浅色模式变化,而不会跟随系统的深/浅色模式变化。

这个问题已经在 LLDynamicLaunchScreen 中完美解决了,接下来我会对 LLDark 有一次较大的优化和升级,您提到的这个问题也会一并修复。

internetWei avatar Mar 20 '22 06:03 internetWei