Explorar o código

添加了启动页动画

南鑫林 %!s(int64=5) %!d(string=hai) anos
pai
achega
0b5f076de3

+ 3 - 0
RainbowPlanet/RainbowPlanet/Tools/GuidePageView/GuidePageView.swift

@@ -82,7 +82,10 @@ class GuidePageView: UIView {
     //MARK: - 移除所有的View
     private func removeGuideViewFromSupview() {
         UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions.curveEaseOut, animations: { [weak self] in
+            WRNavigationBar.defaultStatusBarStyle = .default
             self?.alpha = 0.0
+            let transform = CATransform3DScale(CATransform3DIdentity, 1.5, 1.5, 1.0)
+            self?.layer.transform = transform
         }) { [weak self] (_) in
             self?.removeFromSuperview()
         }