Launch Screen Animation ~ Logo fade out
Published in
1 min readJul 28, 2020
成果
製作流程
先拉出一個ViewController 並命名為Launch View Controller
並放上logo寫入DispatchQueue.main.asyncAfter 因為我們希望畫面
在0.2秒之後開始執行我們的動畫
DispatchQueue.main.asyncAfter(deadline: .now()+0.2, execute: {self.animate()})
動畫
定義animate 持續為1秒的動畫
Private 參考
延伸原來文章果粉App
程式碼
希望這篇文章能夠幫助到你(妳)
如有錯誤指正
I hope you found this guide helpful. If not, then please let me know either in the comments below, I’m AlberLee
Swift#13