iOS launch screen does not update

前端 未结 8 1955
独厮守ぢ
独厮守ぢ 2021-01-04 06:27

I\'ve updated launch screen on an enterprise app, but it won\'t update when installed on an iPad with the existing app. I\'ve tried completely deleting the app before instal

8条回答
  •  悲哀的现实
    2021-01-04 07:16

    See Rambo's post about the issue. At least on iOS 13 you can clear this cache yourself:

    import UIKit
    
    public extension UIApplication {
    
        func clearLaunchScreenCache() {
            do {
                try FileManager.default.removeItem(atPath: NSHomeDirectory()+"/Library/SplashBoard")
            } catch {
                print("Failed to delete launch screen cache: \(error)")
            }
        }
    
    }
    

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题