From 6422d3b7607ba20adf69a2fc2f415661993dfc71 Mon Sep 17 00:00:00 2001 From: v504 Date: Wed, 3 Sep 2025 16:24:32 +0800 Subject: [PATCH] Update API endpoints and configuration values in MyQrCodeApp, enhance privacy policy styling and content, and adjust memory monitoring methods for improved performance. Modify Release scheme settings for better debugging experience. --- .../xcshareddata/xcschemes/Release.xcscheme | 4 +- MyQrCode/Core/MyQrCodeApp.swift | 8 +- MyQrCode/Resources/privacy_policy.html | 198 ++++++++++++------ MyQrCode/Utils/MemoryMonitor.swift | 4 +- 4 files changed, 139 insertions(+), 75 deletions(-) diff --git a/MyQrCode.xcodeproj/xcshareddata/xcschemes/Release.xcscheme b/MyQrCode.xcodeproj/xcshareddata/xcschemes/Release.xcscheme index b375193..ad33bc8 100644 --- a/MyQrCode.xcodeproj/xcshareddata/xcschemes/Release.xcscheme +++ b/MyQrCode.xcodeproj/xcshareddata/xcschemes/Release.xcscheme @@ -32,8 +32,8 @@ @@ -166,8 +219,8 @@
-

Privacy Policy

-
Last Updated: December 28, 2024
+

Privacy Policy

+
Last Updated: August 28, 2025
@@ -242,7 +295,18 @@
-

8. Contact Us

+

8. Third-Party SDKs and Services

+

Our app may integrate with third-party SDKs and services to enhance functionality:

+
    +
  • Facebook SDK: Used for Facebook event creation and sharing features. The Facebook SDK may collect and process data according to Facebook's own privacy policy. You can review Facebook's privacy policy at https://www.facebook.com/privacy/policy
  • +
  • Core Data Framework: Apple's local data storage framework for managing app data on your device
  • +
  • Camera Framework: Apple's camera framework for QR code and barcode scanning functionality
  • +
+

Note: Third-party SDKs have their own privacy policies and data collection practices. We recommend reviewing their respective privacy policies for complete information about how they handle your data.

+
+ +
+

9. Contact Us

Get in Touch

If you have any questions about this Privacy Policy or our data practices, please contact us through:

@@ -260,7 +324,7 @@
diff --git a/MyQrCode/Utils/MemoryMonitor.swift b/MyQrCode/Utils/MemoryMonitor.swift index a13a483..7675fd4 100644 --- a/MyQrCode/Utils/MemoryMonitor.swift +++ b/MyQrCode/Utils/MemoryMonitor.swift @@ -138,7 +138,7 @@ class MemoryMonitor: ObservableObject { /// 获取更详细的内存信息 func getDetailedMemoryInfo() -> DetailedMemoryInfo { let stats = getAccurateMemoryStats() - let processInfo = ProcessInfo.processInfo + _ = ProcessInfo.processInfo return DetailedMemoryInfo( residentMemoryMB: stats.residentMemoryMB, @@ -511,7 +511,7 @@ extension MemoryMonitor { func getMemoryTrend() -> MemoryTrend { // 这里应该基于历史数据计算趋势 // 简化版本返回当前状态 - let currentMemory = getMemoryUsageInMB() + _ = getMemoryUsageInMB() let pressure = getMemoryPressureLevel() return MemoryTrend(