Browse Source

1.1(3)上架

100Years 1 tháng trước cách đây
mục cha
commit
4577508ad7

+ 2 - 2
AIRingtone.xcodeproj/project.pbxproj

@@ -1099,7 +1099,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 3;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = AIRingtone/Info.plist;
@@ -1141,7 +1141,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 3;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = AIRingtone/Info.plist;

BIN
AIRingtone/Assets.xcassets/Tutorials/tutorial_photo_1.imageset/tutorial_photo_1@2x.png


BIN
AIRingtone/Assets.xcassets/Tutorials/tutorial_photo_1.imageset/tutorial_photo_1@3x.png


+ 2 - 1
AIRingtone/Business/TSAIPhotoVC/TSTextGeneralPicVC/TSTextGeneralPicVC.swift

@@ -117,6 +117,7 @@ class TSTextGeneralPicVC: TSBaseVC {
     override func dealThings() {
         self.updateVipView()
         NotificationCenter.default.addObserver(self, selector: #selector(vipInfoChanged), name: .kPurchaseDidChanged, object: nil)
+        self.creatBtnView.setVip(vip: true)
     }
     
     @objc func vipInfoChanged() {
@@ -126,7 +127,7 @@ class TSTextGeneralPicVC: TSBaseVC {
     }
     
     func updateVipView() {
-        self.creatBtnView.setVip(vip: kPurchaseDefault.generateVipShow(type: self.vipFreeNumType))
+//        self.creatBtnView.setVip(vip: kPurchaseDefault.generateVipShow(type: self.vipFreeNumType))
     }
     
     @objc func clickView() {

+ 2 - 1
AIRingtone/Business/TSAIRintoneVC/TSTextGeneralRintoneVC/TSTextGeneralRintoneVC.swift

@@ -101,6 +101,7 @@ class TSTextGeneralRintoneVC: TSBaseVC {
     override func dealThings() {
         self.updateVipView()
         NotificationCenter.default.addObserver(self, selector: #selector(vipInfoChanged), name: .kPurchaseDidChanged, object: nil)
+        self.creatBtnView.setVip(vip: true)
     }
     
     @objc func vipInfoChanged() {
@@ -114,7 +115,7 @@ class TSTextGeneralRintoneVC: TSBaseVC {
     }
 
     func updateVipView() {
-        self.creatBtnView.setVip(vip: kPurchaseDefault.generateVipShow(type: .ringtones))
+//        self.creatBtnView.setVip(vip: kPurchaseDefault.generateVipShow(type: .ringtones))
     }
     
     @objc func clickCollectionView() {

+ 1 - 1
AIRingtone/Business/TSPurchaseMembershipVC/TSPurchaseVC.swift

@@ -225,7 +225,7 @@ struct PurchaseView :View {
                 Image("vip_big_icon").resizable().frame(width: 163, height: 164)
                 Spacer().frame(height: 13)
                 
-                Text("AI Ringtone Pro")
+                Text(" AI Ringtone Pro")
                     .font(.font(name: .PoppinsBlackItalic,size: 30))
                     .gradientForeground(
                         colors: [Color.white, "#F7B7FF".uiColor.color],

+ 1 - 1
AIRingtone/Common/Purchase/TSPurchaseManager.swift

@@ -601,7 +601,7 @@ extension PurchaseManager {
     
     /// 是否展示生成类的会员图标
     func generateVipShow(type:VipFreeNumType) -> Bool{
-        if freeNum(type: type) > 0 {
+        if isVip == false, freeNum(type: type) > 0 {
             return false
         }
         return true