Browse Source

feat:3.6.7(1)更换 logo 和启动页

100Years 1 month ago
parent
commit
5dcc5cc60b
25 changed files with 17 additions and 19 deletions
  1. 8 8
      TSLiveWallpaper.xcodeproj/project.pbxproj
  2. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-1024.png
  3. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png
  4. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png
  5. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png
  6. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png
  7. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-38@2x.png
  8. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-38@3x.png
  9. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png
  10. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png
  11. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png
  12. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png
  13. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-64@2x.png
  14. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-64@3x.png
  15. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-68@2x.png
  16. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png
  17. BIN
      TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png
  18. 2 2
      TSLiveWallpaper/Base.lproj/LaunchScreen.storyboard
  19. 3 1
      TSLiveWallpaper/Business/TSAIListVC/TSAIPhotoDetailsVC/TSAIPhotoDetailsVC/TSAIPhotoDetailsVC.swift
  20. 0 2
      TSLiveWallpaper/Business/TSAIListVC/TSAIPhotoGeneratorVC/TSAIListPhotoGeneratorVC.swift
  21. 3 3
      TSLiveWallpaper/Common/Purchase/TSPurchaseManager.swift
  22. 0 2
      TSLiveWallpaper/Info.plist
  23. 1 1
      TSLiveWallpaper/LaunchVC/TSLaunchVC.swift
  24. BIN
      TSLiveWallpaper/launch2.png
  25. BIN
      TSLiveWallpaper/launch3.png

+ 8 - 8
TSLiveWallpaper.xcodeproj/project.pbxproj

@@ -122,6 +122,7 @@
 		A8E56BF92D1520EC003C54AF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A8E56BED2D1520EC003C54AF /* Assets.xcassets */; };
 		A8E56BFB2D1520EC003C54AF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A8E56BF02D1520EC003C54AF /* LaunchScreen.storyboard */; };
 		A8E590392DFFAE4400C2533F /* TSBootVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8E590382DFFAE4400C2533F /* TSBootVC.swift */; };
+		A8EB383E2E13B75C002F90E9 /* launch3.png in Resources */ = {isa = PBXBuildFile; fileRef = A8EB383D2E13B75C002F90E9 /* launch3.png */; };
 		A8EE92C02DFFC3B50077DFFD /* TSImageProComparisonView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8EE92BF2DFFC39C0077DFFD /* TSImageProComparisonView.swift */; };
 		A8EE92C22DFFC54C0077DFFD /* TSBootModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8EE92C12DFFC54A0077DFFD /* TSBootModel.swift */; };
 		A8EE92C42DFFC5830077DFFD /* TSBootCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8EE92C32DFFC5820077DFFD /* TSBootCell.swift */; };
@@ -161,7 +162,6 @@
 		A8FD8F3F2DFC10CF008CAACF /* SwiftUIX in Frameworks */ = {isa = PBXBuildFile; productRef = A8FD8F3E2DFC10CF008CAACF /* SwiftUIX */; };
 		A8FD8F412DFC138A008CAACF /* TYCycleImageComparisonView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8FD8F402DFC138A008CAACF /* TYCycleImageComparisonView.swift */; };
 		A8FD8F432DFC1656008CAACF /* TSImageComparisonView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8FD8F422DFC1656008CAACF /* TSImageComparisonView.swift */; };
-		A8FD8F472DFC3092008CAACF /* launch2.png in Resources */ = {isa = PBXBuildFile; fileRef = A8FD8F462DFC3092008CAACF /* launch2.png */; };
 /* End PBXBuildFile section */
 
 /* Begin PBXFileReference section */
@@ -293,6 +293,7 @@
 		A8E56BEE2D1520EC003C54AF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 		A8E56BEF2D1520EC003C54AF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
 		A8E590382DFFAE4400C2533F /* TSBootVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TSBootVC.swift; sourceTree = "<group>"; };
+		A8EB383D2E13B75C002F90E9 /* launch3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = launch3.png; sourceTree = "<group>"; };
 		A8EE92BF2DFFC39C0077DFFD /* TSImageProComparisonView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TSImageProComparisonView.swift; sourceTree = "<group>"; };
 		A8EE92C12DFFC54A0077DFFD /* TSBootModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TSBootModel.swift; sourceTree = "<group>"; };
 		A8EE92C32DFFC5820077DFFD /* TSBootCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TSBootCell.swift; sourceTree = "<group>"; };
@@ -340,7 +341,6 @@
 		A8FD8F3B2DFC0A71008CAACF /* HighlightedText.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HighlightedText.swift; sourceTree = "<group>"; };
 		A8FD8F402DFC138A008CAACF /* TYCycleImageComparisonView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TYCycleImageComparisonView.swift; sourceTree = "<group>"; };
 		A8FD8F422DFC1656008CAACF /* TSImageComparisonView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TSImageComparisonView.swift; sourceTree = "<group>"; };
-		A8FD8F462DFC3092008CAACF /* launch2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = launch2.png; sourceTree = "<group>"; };
 		CA36AE9B313600F95F04D9CA /* Pods-TSLiveWallpaper.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TSLiveWallpaper.debug.xcconfig"; path = "Target Support Files/Pods-TSLiveWallpaper/Pods-TSLiveWallpaper.debug.xcconfig"; sourceTree = "<group>"; };
 		E33A770AEFA5810AED7219D3 /* Pods_TSLiveWallpaper.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TSLiveWallpaper.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 /* End PBXFileReference section */
@@ -953,7 +953,7 @@
 				A81CA45F2D1567CD00A3AAC8 /* LaunchVC */,
 				A8E56BEC2D1520EC003C54AF /* AppDelegate.swift */,
 				A8E56BED2D1520EC003C54AF /* Assets.xcassets */,
-				A8FD8F462DFC3092008CAACF /* launch2.png */,
+				A8EB383D2E13B75C002F90E9 /* launch3.png */,
 				A8E56BEE2D1520EC003C54AF /* Info.plist */,
 				A87CF8582E02AF070063CB7E /* InfoPlist.strings */,
 				A8E56BF02D1520EC003C54AF /* LaunchScreen.storyboard */,
@@ -1177,10 +1177,10 @@
 				603901222DF9770A0096551E /* Flash-old-Time.png in Resources */,
 				A87CF85A2E02AF070063CB7E /* InfoPlist.strings in Resources */,
 				A8C4C0A42D24218A003C46FC /* metadata.mov in Resources */,
+				A8EB383E2E13B75C002F90E9 /* launch3.png in Resources */,
 				A86857D72DF983620089D222 /* generat_loading.gif in Resources */,
 				A86857C62DF92BE70089D222 /* ZillaSlab-Bold.ttf in Resources */,
 				A8F8BCF92E054A1A00EF4AA6 /* animated_example.gif in Resources */,
-				A8FD8F472DFC3092008CAACF /* launch2.png in Resources */,
 				609B6EA52D6F1221007942D4 /* Localizable.strings in Resources */,
 				A8FD8F332DFBCB85008CAACF /* ZillaSlab-Regular.ttf in Resources */,
 				A8FD8F342DFBCB85008CAACF /* ZillaSlab-Medium.ttf in Resources */,
@@ -1434,7 +1434,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 6;
+				CURRENT_PROJECT_VERSION = 1;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_APP_SANDBOX = NO;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
@@ -1451,7 +1451,7 @@
 					"$(inherited)",
 					"@executable_path/Frameworks",
 				);
-				MARKETING_VERSION = 3.6.6;
+				MARKETING_VERSION = 3.6.7;
 				PRODUCT_BUNDLE_IDENTIFIER = musicplayer.offline.com;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1474,7 +1474,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 6;
+				CURRENT_PROJECT_VERSION = 1;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_APP_SANDBOX = NO;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
@@ -1491,7 +1491,7 @@
 					"$(inherited)",
 					"@executable_path/Frameworks",
 				);
-				MARKETING_VERSION = 3.6.6;
+				MARKETING_VERSION = 3.6.7;
 				PRODUCT_BUNDLE_IDENTIFIER = musicplayer.offline.com;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				PROVISIONING_PROFILE_SPECIFIER = "";

BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-1024.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-38@2x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-38@3x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-64@2x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-64@3x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-68@2x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png


BIN
TSLiveWallpaper/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png


+ 2 - 2
TSLiveWallpaper/Base.lproj/LaunchScreen.storyboard

@@ -16,7 +16,7 @@
                         <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch2.png" adjustsImageSizeForAccessibilityContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="JeO-0Z-rkP">
+                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch3.png" adjustsImageSizeForAccessibilityContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="JeO-0Z-rkP">
                                 <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
                             </imageView>
                         </subviews>
@@ -36,6 +36,6 @@
         </scene>
     </scenes>
     <resources>
-        <image name="launch2.png" width="750" height="1624"/>
+        <image name="launch3.png" width="750" height="1624"/>
     </resources>
 </document>

+ 3 - 1
TSLiveWallpaper/Business/TSAIListVC/TSAIPhotoDetailsVC/TSAIPhotoDetailsVC/TSAIPhotoDetailsVC.swift

@@ -20,7 +20,7 @@ class TSAIPhotoDetailsVC: TSBaseVC {
 //    lazy var switchOriginalPictureBtn: TSUIExpandedTouchButton = creatSwitchOriginalPictureBtn()
     lazy var saveBtn: UIButton = creatSaveBtn()
     var navRightBtn:UIButton = UIButton()
-    
+    var isSavePhotoMark:Bool = false
     override func createView() {
         
         let imageView = UIImageView.createImageView(image: .navShadow,contentMode: .scaleToFill)
@@ -68,6 +68,7 @@ class TSAIPhotoDetailsVC: TSBaseVC {
                     PhotoManagerShared.saveVideoToAlbum(videoURL: url) { [weak self] success, error in
                         guard let self = self else { return }
                         if success {
+                            isSavePhotoMark = true
                             kSaveSuccesswShared.show(atView:self.view)
                         }else{
                             debugPrint(error)
@@ -81,6 +82,7 @@ class TSAIPhotoDetailsVC: TSBaseVC {
                     PhotoManagerShared.saveImageToAlbum(image) { [weak self] success, error in
                         guard let self = self else { return }
                         if success {
+                            isSavePhotoMark = true
                             kSaveSuccesswShared.show(atView:self.view)
                         }else{
                             debugPrint(error)

+ 0 - 2
TSLiveWallpaper/Business/TSAIListVC/TSAIPhotoGeneratorVC/TSAIListPhotoGeneratorVC.swift

@@ -26,8 +26,6 @@ class TSAIListPhotoGeneratorVC: TSAIPhotoDetailsVC {
     
     var uuidString:String = UUID().uuidString
     var operation:TSGenerateBaseOperation?
-
-    var isSavePhotoMark:Bool = false
     var isNeedSavePhoto:Bool {
         if isSavePhotoMark == false,let _ = infoModel {
             return true

+ 3 - 3
TSLiveWallpaper/Common/Purchase/TSPurchaseManager.swift

@@ -82,9 +82,9 @@ public class PurchaseManager: NSObject {
     }
 
     @objc public var isVip: Bool {
-//        #if DEBUG
-//        return true
-//        #endif
+        #if DEBUG
+        return true
+        #endif
         guard let expiresDate = expiredDate else {
             return false
         }

+ 0 - 2
TSLiveWallpaper/Info.plist

@@ -2,8 +2,6 @@
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
-	<key>GADApplicationIdentifier</key>
-	<string>ca-app-pub-4941656534177879~4319034900</string>
 	<key>ITSAppUsesNonExemptEncryption</key>
 	<false/>
 	<key>NSAppTransportSecurity</key>

+ 1 - 1
TSLiveWallpaper/LaunchVC/TSLaunchVC.swift

@@ -109,7 +109,7 @@ class TSLaunchVC: UIViewController {
 //        launchView.frame = UIScreen.main.bounds
         
         let launchView = UIImageView(frame: UIScreen.main.bounds)
-        launchView.image = UIImage(named: "launch2")
+        launchView.image = UIImage(named: "launch3")
         launchView.contentMode = .scaleAspectFit
         view.addSubview(launchView)
     }

BIN
TSLiveWallpaper/launch2.png


BIN
TSLiveWallpaper/launch3.png