Quellcode durchsuchen

1.计算器的微信分享

huangxiaodong vor 1 Jahr
Ursprung
Commit
66338f34d9

+ 11 - 0
创维盒子/jiSuanQi_Info.plist

@@ -25,11 +25,22 @@
 				<string>tencent102020350</string>
 			</array>
 		</dict>
+		<dict>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>CFBundleURLName</key>
+			<string>weixin</string>
+			<key>CFBundleURLSchemes</key>
+			<array>
+				<string>wx9f3e477e0df9bf03</string>
+			</array>
+		</dict>
 	</array>
 	<key>ITSAppUsesNonExemptEncryption</key>
 	<false/>
 	<key>LSApplicationQueriesSchemes</key>
 	<array>
+		<string>weixinURLParamsAPI</string>
 		<string>alipay </string>
 		<string>alipayshare</string>
 		<string>wechat</string>

+ 12 - 8
创维盒子/双子星云手机.xcodeproj/project.pbxproj

@@ -197,8 +197,10 @@
 		6B21709D2B15CDB600656670 /* NSArray+Log.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B21709B2B15CDB600656670 /* NSArray+Log.m */; };
 		6B2170A02B15D39900656670 /* privacyModeTipViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B21709E2B15D39900656670 /* privacyModeTipViewController.h */; };
 		6B2170A12B15D39900656670 /* privacyModeTipViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B21709F2B15D39900656670 /* privacyModeTipViewController.m */; };
-		6B304E942BEF52A1004F5580 /* customShareManageTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B304E932BEF52A0004F5580 /* customShareManageTool.m */; };
-		6B304E952BEF52A1004F5580 /* customShareManageTool.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B304E922BEF52A0004F5580 /* customShareManageTool.h */; };
+		6B304E982BEF6058004F5580 /* customShareManageTool.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B304E962BEF6058004F5580 /* customShareManageTool.h */; };
+		6B304E992BEF6058004F5580 /* customShareManageTool.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B304E962BEF6058004F5580 /* customShareManageTool.h */; };
+		6B304E9A2BEF6058004F5580 /* customShareManageTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B304E972BEF6058004F5580 /* customShareManageTool.m */; };
+		6B304E9B2BEF6058004F5580 /* customShareManageTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B304E972BEF6058004F5580 /* customShareManageTool.m */; };
 		6B3A4B152B6F69A500F74679 /* cloudPhoneCommonModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B3A4B132B6F69A500F74679 /* cloudPhoneCommonModel.h */; };
 		6B3A4B162B6F69A500F74679 /* cloudPhoneCommonModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B3A4B142B6F69A500F74679 /* cloudPhoneCommonModel.m */; };
 		6B3F96342AD2A15A008E349E /* netWorkManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B3F96322AD2A15A008E349E /* netWorkManager.h */; };
@@ -1031,8 +1033,8 @@
 		6B21709B2B15CDB600656670 /* NSArray+Log.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSArray+Log.m"; sourceTree = "<group>"; };
 		6B21709E2B15D39900656670 /* privacyModeTipViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = privacyModeTipViewController.h; sourceTree = "<group>"; };
 		6B21709F2B15D39900656670 /* privacyModeTipViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = privacyModeTipViewController.m; sourceTree = "<group>"; };
-		6B304E922BEF52A0004F5580 /* customShareManageTool.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = customShareManageTool.h; sourceTree = "<group>"; };
-		6B304E932BEF52A0004F5580 /* customShareManageTool.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = customShareManageTool.m; sourceTree = "<group>"; };
+		6B304E962BEF6058004F5580 /* customShareManageTool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = customShareManageTool.h; sourceTree = "<group>"; };
+		6B304E972BEF6058004F5580 /* customShareManageTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = customShareManageTool.m; sourceTree = "<group>"; };
 		6B3A4B132B6F69A500F74679 /* cloudPhoneCommonModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = cloudPhoneCommonModel.h; sourceTree = "<group>"; };
 		6B3A4B142B6F69A500F74679 /* cloudPhoneCommonModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = cloudPhoneCommonModel.m; sourceTree = "<group>"; };
 		6B3F96322AD2A15A008E349E /* netWorkManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = netWorkManager.h; sourceTree = "<group>"; };
@@ -2148,8 +2150,8 @@
 				A003F6CA27D8425C00715CBF /* RSA.m */,
 				A003F6CB27D8425C00715CBF /* HWDataManager.h */,
 				A003F6CD27D8425C00715CBF /* HWDataManager.m */,
-				6B304E922BEF52A0004F5580 /* customShareManageTool.h */,
-				6B304E932BEF52A0004F5580 /* customShareManageTool.m */,
+				6B304E962BEF6058004F5580 /* customShareManageTool.h */,
+				6B304E972BEF6058004F5580 /* customShareManageTool.m */,
 			);
 			path = Helpers;
 			sourceTree = "<group>";
@@ -2535,7 +2537,7 @@
 				6B1FBD3E2B46875300926382 /* backupsFileRecordCell.h in Headers */,
 				186820192AB94877005702A6 /* GuideLastView.h in Headers */,
 				6B0582632AFF4B7D00D37290 /* PhotoPreviewViewController.h in Headers */,
-				6B304E952BEF52A1004F5580 /* customShareManageTool.h in Headers */,
+				6B304E982BEF6058004F5580 /* customShareManageTool.h in Headers */,
 				6B5D402F2B4BCBC1000965CF /* downLoadPreViewCell.h in Headers */,
 				6B0581AD2AFCF57300D37290 /* AJPhotoGroupView.h in Headers */,
 				18F9CB072ABD7835003FF71A /* QRCodeScanForChangeDeviceViewController.h in Headers */,
@@ -2665,6 +2667,7 @@
 				6BD507002B9576A4006E7CB0 /* backupsFileRecordCell.h in Headers */,
 				6BD507012B9576A4006E7CB0 /* GuideLastView.h in Headers */,
 				6BD507022B9576A4006E7CB0 /* PhotoPreviewViewController.h in Headers */,
+				6B304E992BEF6058004F5580 /* customShareManageTool.h in Headers */,
 				6BD507032B9576A4006E7CB0 /* downLoadPreViewCell.h in Headers */,
 				6BD507042B9576A4006E7CB0 /* AJPhotoGroupView.h in Headers */,
 				6BD507052B9576A4006E7CB0 /* QRCodeScanForChangeDeviceViewController.h in Headers */,
@@ -3251,6 +3254,7 @@
 				6BD507D02B9576A4006E7CB0 /* HWAboutViewController.m in Sources */,
 				6BD507D12B9576A4006E7CB0 /* SuperModel.m in Sources */,
 				6BD507D22B9576A4006E7CB0 /* imageVersionRenewTipView.m in Sources */,
+				6B304E9B2BEF6058004F5580 /* customShareManageTool.m in Sources */,
 				6BD507D32B9576A4006E7CB0 /* uploadFileRecordEditBottomView.m in Sources */,
 				6BD507D42B9576A4006E7CB0 /* BaseTabBarController.m in Sources */,
 				6BD507D52B9576A4006E7CB0 /* FLAnimatedImage.m in Sources */,
@@ -3465,7 +3469,7 @@
 				A0951D9427ED61F5000E6AC4 /* HWAboutViewController.m in Sources */,
 				183AE5E12A89CD3C00B11CB0 /* SuperModel.m in Sources */,
 				6B4D23B22B33DDBC005B718A /* imageVersionRenewTipView.m in Sources */,
-				6B304E942BEF52A1004F5580 /* customShareManageTool.m in Sources */,
+				6B304E9A2BEF6058004F5580 /* customShareManageTool.m in Sources */,
 				6B7272502B0B58E500C03F87 /* uploadFileRecordEditBottomView.m in Sources */,
 				A003F6A927D841C800715CBF /* BaseTabBarController.m in Sources */,
 				A003F6C027D841FF00715CBF /* FLAnimatedImage.m in Sources */,

+ 3 - 3
创维盒子/双子星云手机/AppDelegate/SceneDelegate.m

@@ -410,9 +410,9 @@
     [self showCalculatorVC];
 }
 
-//- (void)scene:(UIScene *)scene continueUserActivity:(NSUserActivity *)userActivity {
-//    [WXApi handleOpenUniversalLink:userActivity delegate:self];
-//}
+- (void)scene:(UIScene *)scene continueUserActivity:(NSUserActivity *)userActivity {
+    [WXApi handleOpenUniversalLink:userActivity delegate:self];
+}
 
 - (void)scene:(UIScene *)scene openURLContexts:(NSSet<UIOpenURLContext *> *)URLContexts {
     NSEnumerator *enumerator = [URLContexts objectEnumerator];